pavement

Resolv.conf

From FreeBSDwiki
(Difference between revisions)
Jump to: navigation, search
m
Line 4: Line 4:
 
  nameserver 169.254.1.1
 
  nameserver 169.254.1.1
 
  nameserver 172.16.1.1  
 
  nameserver 172.16.1.1  
 +
 +
To search throught multiple domains use:
 +
  search freebsdwiki.net another.domain.here
  
 
[[Category:Important_Config_Files]][[Category:Configuring FreeBSD]]
 
[[Category:Important_Config_Files]][[Category:Configuring FreeBSD]]

Revision as of 02:44, 21 January 2006

Located at /etc/resolv.conf, this file defines your search domains and your DNS servers. You probably don't want more than 4 to 6 search domains and you cannot have more than three DNS servers listed. The format is:

domain freebsdwiki.net
nameserver 169.254.1.1
nameserver 172.16.1.1 

To search throught multiple domains use:

 search freebsdwiki.net another.domain.here
Personal tools