From: mitch@spuddy.uucp (Mitchum Dsouza) Subject: Re: /bin/hostname -S won't set hostname Date: Thu, 17 Jun 1993 15:44:10 GMT
> > (telmar!samuel@uunet.uu.net)
> >
>
> MD> And what does your /etc/host.conf file say ??
>
> root# more host.conf
> order bind
>
> Any help greatly appreciated.
> Samuel Druker
> Sysadmin, Telmar
> uunet!telmar!samuel
> cognex!samuel@uunet.uu.net
> 617/449-6970 x541
> 617/738-1402
>
So thats where you went wrong.
DNS (bind) is not returning the IP.
Instead change the line in your /etc/host.cof file to say the following
order hosts,bind
multi
This tells any program using gethostbyname() to check your /etc/hosts table
first and then use DNS (bind, named). Obviously named (DNS) cannot be started
until the hostname is set... Catch-22 situation
Mitch
--* Meeeow ! Call Spuddy on (0203) 364436/362560 for FREE mail & Usenet access *