Re: sendmail gethostbyaddr fails
On Sat, 14 Jul 2001, Carel Fellinger wrote:
> As I said "host 192.168.1.1" works, and stracing it indeed shows access
> to /etc/resolv.conf, /etc/host.conf and /etc/hosts in that order.
>
> But "host localhost." goes off to the internet to query my ISP's DNS
> server instead of relying on my /etc/hosts. Stracing it shows access
> to /etc/resolve.conf, but then instead of reading /etc/host.conf and
> /etc/hosts it goes off to "connect" to my ISP's DNS server.
>
> This I find strange, it would mean one needs to run a local dns server
> on every privat network for some very basic network functions to work
> properly.
What does `hostname` say ? and whats in /etc/hosts ?
This is a fairly recent problem, and it has hit alot of people
--
Rick Nelson
10) there is no 10, but it sounded like a nice number :)
-- Wichert Akkerman
Reply to: