
W niektórych pracowniach na Politechnice na serwerach DNS zablokowane są „niewygodne” domeny — „*.nasza-klasa.pl” i „gmail.com”. Okazuje się jednak, że wystarczy sobie zdefiniować odpowiednie domeny w pliku HOSTS, a wszystko działa pięknie. Poniżej potrzebne definicje.
# Copyright (c) 1993-1999 Microsoft Corp.
#
# This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
#
# This file contains the mappings of IP addresses to host names. Each
# entry should be kept on an individual line. The IP address should
# be placed in the first column followed by the corresponding host name.
# The IP address and the host name should be separated by at least one
# space.
#
# Additionally, comments (such as these) may be inserted on individual
# lines or following the machine name denoted by a '#' symbol.
#
# For example:
#
# 102.54.94.97 rhino.acme.com # source server
# 38.25.63.10 x.acme.com # x client host
127.0.0.1 localhost
195.93.178.5 nasza-klasa.pl
195.93.178.6 www.nasza-klasa.pl
195.93.178.9 static.nasza-klasa.pl
195.93.178.14 photos.nasza-klasa.pl
209.85.171.83 gmail.com
74.125.39.17 www.gmail.com