:
DNS (. Domain Name System) . IP- .
DNS (. Domain Name Server) ; , IP-.
DNS- ( DNS) DNS- . , -.
host (.) ; , , TCP/IP.
IP (. Internet Protocol) -; .
IP- (. IP address) . (network ID) (host ID).
Name Resolution (.) ; IP-.
Name Resolution Service ; TCP/IP IP- .
TCP/IP (. Transmission Control Protocol/Internet Protocol) , , . .
URL (. Uniform Resource Locator) ; , .
hosts-
hosts- Windows () (, , ) IP- (name resolution).
hosts- IP- (127.0.0.1), localhost, .
hosts ( ).
hosts:
Windows 95\98\ME \WINDOWS\;
Windows NT\2000\XP\Vista\7 \Windows\System32\drivers\etc\.
- - (URL) - (-) Enter:
hosts-, (localhost);
, ( ) hosts;
, IP-, hosts-;
hosts, DNS (DNS-);
, IP-flhtce, DNS;
DNS, DNS-;
- () , DNS- URL- IP-;
- .
hosts-
, , . . IP- , . (host file) , .
, , , host file. , . host file
DNS . hosts-
hosts
Windows XP:
# 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
Windows Vista:
# Copyright (c) 1993-2006 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
::1 localhost
Windows 7:
# Copyright (c) 1993-2009 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
# localhost name resolution is handled within DNS itself.
# 127.0.0.1 localhost
# ::1 localhost
hosts-
hosts- DNS- .
, google.ru google.com. hosts 127.0.0.1 localhost
209.85.229.104 google.ru
74.125.232.20 google.com
- DNS, google.ru google.com.
hosts- (, ). 127.0.0.1 localhost
127.0.0.1 URL__
, IP-127.0.0.1, , .
hosts-
1. .
2. IP- , ( ) .
3. IP- .
4. #.
5. , #.
hosts-
hosts-, -. - , , , .
hosts- :
, , , ;
hosts- ( );
hosts-, hosts ( ) .txt ( ):
hosts-:
hosts- ( , );
Windows 녻;
> OK;
> OK;
hosts ;
, 127.0.0.1 localhost;
hosts-.