Hostname only

Oliver Sampson olsam at quickaudio.com
Tue Apr 20 08:29:20 UTC 2004


On Mon, 19 Apr 2004 14:25:40 -0400, "Rich Parkin" <RParkin at ldmi.com>
wrote:

>Hello!
>
>Not sure about how Linux gets configured by default because I haven't
>played with it as much, but in Windows you have the ability to set "DNS
>suffixes" that are appended to every search for an unqualified hostname.
> In resolver terms, it would be the search list.  It also tries to
>append the "DNS suffix" of the workstation itself, if that's configured.
> I would expect that you have this option set up... otherwise, the
>unqualified hostname would not resolve unless it were in your hosts
>file.
>
>On the server itself, your resolver's behavior (assuming some flavor of
>UNIX) is probably controlled by the /etc/resolv.conf file.  By adding a
>domain or search directive to this file, you can make it do the same
>thing.
>
>For example, you might add this to your resolv.conf:
>
>domain bogus.bogus
>
>-or-
>
>search bogus.bogus
>
>I'd be surprised if the linux machine didn't already have something
>like this in its' /etc/resolv.conf.  You may have already thought of
>this, but I figured I'd mention it.

Well, it's good you did, because that was exactly it.  It works like a
champ, now.

Many thanks!
-- 
Oliver Sampson                  Buy my CDs!
olsam at quickaudio.com            http://www.cdbaby.com/woodlawn
http://www.oliversampson.com	http://www.cdbaby.com/matchpoint



More information about the bind-users mailing list