/etc/resolv.conf defines domain name protocol name-server information for local resolver routines.

The format of data in this file should resemble this:

nameserver address_of_nameserver
domain domain_name
search domain1, domain1, domain3

-nameserver is the IP address of the nameserver to contact.
-domain is the domain name that the host belongs to.
-search is a comma-seperated list of domains in which the name to be resolved should be searched.

An example:

nameserver 205.123.15.67
nameserver 205.123.16.34
domain domain.com
search subdomain.domain.com, otherdomain.com

Log in or register to write something here or to contact authors.