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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

DNS Searching multiple domains

Status
Not open for further replies.
Jun 28, 2002
64
GB
Hey guys,

I have two domains in the same network as we are migrating, from an old one to a new one. So I now have to reference the two domains (fred.com & bob.com)from the one unix client. I am trying to stay away from using host files as there are a lot of changes on the network and it is an increase in adminstration. I thought I could use the search parameter in the resolv.conf file to search another domain with in the network to resolve hosts in the other domain. But this doesn't seem to be working.
here is my resov.conf:

_#>cat /etc/resolv.conf

domain bob.com
nameserver 192.168.0.120
nameserver 192.168.0.121
search fred.com

Is this correct? Will my unix host resolve names from fred.com? and bob.com?

any help much appreciated...
 
I must admit we haven't had to use this at our site, but my reading of the man pages (man resolv.conf) suggests both domain names should be in the search path as follows:

search bob.com fred.com

I hope that helps.

Mike
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top