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

Re: Strange problem with local name resolution

On Sun, Oct 09, 2005 at 04:56:17PM +0200, Andreas Vent-Schmidt wrote:
> after installing some brand new Sarge systems I've been facing a strange 
> problem concerning the resolution of local(!) hostnames.

> `host`

> results in: "Host not found: 3(NXDOMAIN)"

The 'host' utility doesn't use /etc/hosts, only DNS. It snarfs DNS
serves from /etc/resolv.conf so you don't actually _realise_ it's doing
this, unless you try to 'host' something that exists only in /etc/hosts
or some other non-DNS hosts database.

Paul "TBBle" Hampson, MCSE
8th year CompSci/Asian Studies student, ANU
The Boss, Bubblesworth Pty Ltd (ABN: 51 095 284 361)

"No survivors? Then where do the stories come from I wonder?"
-- Capt. Jack Sparrow, "Pirates of the Caribbean"

License: http://creativecommons.org/licenses/by/2.1/au/

Attachment: pgpfcAukezA3z.pgp
Description: PGP signature

Reply to: