DNS Clients Resolvers

The names of the DNS servers that service a host's network are kept in the host's /etc/resolv .conf file (see Chapter 35). When setting up an Internet connection, the name servers provided by your Internet service provider (ISP) were placed in this file. These name servers resolve any fully qualified domain names that you use when you access different Internet sites.

Figure 36-1 server for the network

_ looks up the name lizard.mytrek.com

DNS server and finds its IP address, 198.162.0.3

operation

User at rabbit.mytrek.com wants to connect to lizard.mytrek.com

Figure 36-1 server for the network

_ looks up the name lizard.mytrek.com

DNS server and finds its IP address, 198.162.0.3

operation

User at rabbit.mytrek.com wants to connect to lizard.mytrek.com

198.162.0.2 rabbit.mytrek.com

Using the IP for lizard.mytrek.com, rabbit.mytrek.com can now connect to that host

198.162.0.3 lizard.mytrek.com

198.162.0.2 rabbit.mytrek.com

Using the IP for lizard.mytrek.com, rabbit.mytrek.com can now connect to that host

198.162.0.3 lizard.mytrek.com

For example, when you enter a Web site name in your browser, the name is looked up by the name servers and the name's associated IP address is then used to access the site.

/etc/resolv.conf search mytrek.com mytrain.com nameserver 192.16 8.0.1 nameserver 192.16 8.0.3

0 0

Post a comment