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

Re: sendmail gethostbyaddr fails



On Fri, Jul 13, 2001 at 03:46:24PM -0500, Jeremy Gaddis wrote:
> Either set up a DNS server for your local network
> or add some entries to /etc/hosts.  sendmail likes
> to be able to resolve its IP address into an FQDN
> and will bitch if it can't.

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?

-- 
groetjes, carel



Reply to: