You are not logged in.

#1 2011-09-16 18:48:04

fivre
Member
Registered: 2007-04-17
Posts: 97

nslookup appears to be ignoring search domains

My organization has a number of shorthand URLs like 'wiki' and 'teamportal' that are on one of many domains we've acquired over the years; nobody knows what's on which domain except the DNS servers. For some reason, I can't resolve these domains. I can find them fine if I try the FQDN, however.

$ nslookup foo 172.17.1.8
Server:		172.17.1.8
Address:	172.17.1.8#53
** server can't find foo: SERVFAIL

$ nslookup foo.example.com 172.17.1.8
Server:		172.17.1.8
Address:	172.17.1.8#53
foo.example.com	canonical name = intranet7.example.com.
Name:	intranet7.example.com
Address: 10.8.250.134

My resolv.conf looks like this:

domain dhcp.example.com
nameserver 172.17.1.8
search examplesys.com example.com

Shouldn't that search directive tell nslookup to try those domains? What's going wrong?

Offline

Board footer

Powered by FluxBB