[H-GEN] DNS server configuration query
Ewan Edwards
Edwards_Ewan_B at cat.com
Wed Nov 20 00:32:13 EST 2002
[ Humbug *General* list - semi-serious discussions about Humbug and ]
[ Unix-related topics. Posts from non-subscribed addresses will vanish. ]
On Wed, 20 Nov 2002 13:21, James Collins wrote:
> [ Humbug *General* list - semi-serious discussions about Humbug and ]
> [ Unix-related topics. Posts from non-subscribed addresses will vanish. ]
>
> > dig hostname.long.sub.domain.name.com
> > dig hostname
>
> Speaking resolvers? Speak /etc/resolv.conf :)
>
> You appear to be referring to the "default" domain? That's stored in
> /etc/resolv.conf
>
> thusly -:
>
> search default_domain_name.2ld.au
> nameserver 192.168.17.254
Had already added the search directive to /etc/resolv.conf and it didn't seem
to make a difference to dig. It only seemed to make a difference to
nslookup.
James' reply inspired me to look at the man page for resolv.conf and I've now
added a domain directive as well, but still no difference. :-(
Edwin's reply has just arrived and that makes me feel a lot better about the
config. Additionally, I had resolved (pardon the pun) to ensure my DHCP
server will provide domain name and search values in addition to a number of
others, not just IP address, netmask, & gateway.
Thanks for the replies.
--
* This is list (humbug) general handled by majordomo at lists.humbug.org.au .
* Postings to this list are only accepted from subscribed addresses of
* lists 'general' or 'general-post'. See http://www.humbug.org.au/
More information about the General
mailing list