Subject: Re: Can't find a host.
To: None <current-users@NetBSD.org>
From: David Young <email@example.com>
Date: 09/10/2007 12:10:00
On Mon, Sep 10, 2007 at 06:23:56PM +0200, Lubomir Sedlacik wrote:
> On Mon, Sep 10, 2007 at 10:38:21AM -0500, Jeremy C. Reed wrote:
> > The host tool uses DNS (/etc/resolv.conf) and not /etc/hosts file.
> > Use ping or pkgsrc/net/gethost.
> ITYM, getent(1)
getent(1) does not seem to resolve hostnames to both IPv4 and IPv6
numbers. Is that a known bug? For example,
elmendorf:~> getent hosts cuw
elmendorf:~> host cuw
cuw.ojctech.com has address 126.96.36.199
cuw.ojctech.com has IPv6 address 2002:40c6:ff01:1:207:e9ff:fe26:9c5c
David Young OJC Technologies
firstname.lastname@example.org Urbana, IL * (217) 278-3933 ext 24