[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: sendmail gethostbyaddr fails



On Sat, Jul 14, 2001 at 01:12:54AM +0200, Carel Fellinger wrote:
> Sorry to go off on a tangle, but how is all this supposed to be
> working?  I mean, if I have /etc/hosts like:
> 
>      192.168.1.1 host.local.domain host
> 
> ip lookup works:
> 
>     $ host 192.168.1.1
>     Name: host.local.domain
>     Address: 192.168.1.1
>     Aliases: host
> 
> but name lookup fails
> 
>     $ host host.local.domain
>     host.local.domain does not exist (Authoritative answer)
> 
> Is this how it should be?  Or have I a misconfigured system?

What does it look like when you "strace host 192.168.1.1"?  It should
be showing access to /etc/hosts, if you have "order hosts,bind" in
/etc/resolv.conf.

Cheers,


Joost



Reply to: