next up previous contents index
Next: 5.3.2.7 Setting your hostname Up: 5.3.2 Configuring TCP/IP on Previous: 5.3.2.5 /etc/host.conf

5.3.2.6 /etc/resolv.conf

    This file configures the name resolver, specifying the address of your name server (if any) and your domain name. Your domain name is your fully-qualified hostname (if you're a registered machine on the Internet, for example), with the hostname chopped off. That is, if your full hostname is loomer.vpizza.com, your domain name is just vpizza.com.

For example, if your machine is goober.norelco.com, and has a nameserver at the address 128.253.154.5, your /etc/resolv.conf would look like:

domain      norelco.com
nameserver  127.253.154.5

You can specify more than one nameserver---each must have a nameserver line of its own in resolv.conf.



next up previous contents index
Next: 5.3.2.7 Setting your hostname Up: 5.3.2 Configuring TCP/IP on Previous: 5.3.2.5 /etc/host.conf



Matt Welsh
mdw@sunsite.unc.edu