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

Can nslookup search other domains?

Status
Not open for further replies.

Fredric

IS-IT--Management
Mar 2, 2001
10
SE
Can I make nslookup to do a query in first my domain ,and if it does not find an answer, make it look in another domain? Can I make nslookup query /etc/hosts?

I have tried to do some entries in /etc/resolv.conf and /etc/netsvc.conf but I can't make it work.

Fredric
 
som examples on AIX

search multiple domains:

config file /etc/resolv.conf
Code:
nameserver      a.b.c.d
domain  mydomain.com
search mydomain.com otherdomain.com yetanother.com


search /etc/hosts first, then DNS

config file /etc/netsvc.conf
Code:
hosts = local,bind



HTH,

p5wizard
 
Thanx, again!

It worked with the search list in resolv.conf.

Thanx a bunch, Freddan
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top