Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

resolv.conf DNS

Status
Not open for further replies.

rondebbs

MIS
Dec 28, 2005
109
US
Hello, our two old DNS servers are being replaced by two new DNS servers with different IP addresses. For our small hosts I have used smit to add the two new name servers and then used smit to remove the old ones. I went back and verified that the resolv.conf file had the correct entries. These small servers had a /etc/netsvc.conf file with local, bind4. It seems like all host entries were in in the local /etc/hosts file.

I'm now getting ready to change our mission critical servers. I was surprised that they have nothing but comments in their /etc/netsvc.conf. Without the local,bind4 will they still look to the local hosts file first and then look for the name servers in the resolv.conf file second? Also, can I make the resolv.conf changes during the day using smit with all users and applications up? I would add the two new DNS servers and then remove the old ones.
 
unless local,bind4 is set somewhere else (like eg /etc/environment file) then the resolv.conf will be looked at first for name resolution!

Code:
If the resolv.conf file does not exist, the resolver routines attempt name resolution using the default paths, the /etc/netsvc.conf file, or the NSORDER environment variable.


You can change the /etc/resolv.conf on the fly in theory! It is only used to forward name lookup to the DNS servers but if i were you and i know that this server is being used heavily then i won't do it during peak times!

Regards,
Khalid
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top