Using short hostnames with dig (was: Re: Problems getting bind working on F11)

Todd Zullinger tmz at pobox.com
Mon Aug 10 06:00:23 UTC 2009


Tim wrote:
> I've never gotten dig to work with short hostnames, it seems to work
> at a lower level than other things which will add on the domain
> names you put in the search parameter in /etc/resolv.conf.

By default, dig doesn't use the search list from /etc/resolv.conf.
But you can use the +search option from the command line or in
~/.digrc to enable this behavior.

-- 
Todd        OpenPGP -> KeyID: 0xBEAF0CE3 | URL: www.pobox.com/~tmz/pgp
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
There is no pleasure in having nothing to do; the fun is in having
lots to do and not doing it.
    -- Mary Wilson Little

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 542 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20090810/be65e774/attachment-0001.sig>


More information about the fedora-list mailing list