NetBSD-Users archive

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

/usr/bin/host localhost



Hi,

while moving from 6.0.5_PATCH to 6.0.6_PATCH and from 2014Q2 to 2014Q3
I noticed this:

	$ host localhost
	Host localhost not found: 3(NXDOMAIN)

I can't resolve localhost with `host' and `pkg_add' while `ping',
`telnet' and `ftp' seem to honor /etc/hosts.

Both /etc/hosts and /etc/nsswitch.conf are untouched copies from cvs.

When installing packages, I usually do

	$ PKG_PATH=http://localhost/(...) pkg_add (...)

and that's how I actually noticed this.  Therefore I'm not 100% sure if
`host' was always behaving like that.

Thanks,

		Petar Bogdanovic


Home | Main Index | Thread Index | Old Index