#host localhost
- From: Oliver Cromm <lispamateur@xxxxxxxx>
- Date: Fri, 27 Jul 2007 17:45:44 -0400
Is there nothing one can do about "host localhost" showing nonsense? I
spent an hour trying to "solve" this problem until I read a comment to
the effect that this doesn't work correctly on FreeBSD anyway, and all
is well if "ping localhost" goes right.
All my settings are the way it's described here:
http://wiki.unixboard.de/index.php/FreeBSD_-_Namensaufl%C3%B6sung
But "host" insists on
1. adding the domain to "localhost", even when there is no "search" in
resolv.conf
2. using DNS to resolve, never the hosts file
Maybe the man page for host should mention that? I guess I just ought to
use dig.
Well, host doesn't quite work on a RedHat Linux server at work, too, the
answer is:
Host localhost not found: 2(SERVFAIL)
But that's slightly better than getting back an external IP. Is that the
fault of the DNS server I'm using (openDNS)?
--
Strategy: A long-range plan whose merit cannot be evaluated until
sometime after those creating it have left the organization.
.
- Follow-Ups:
- Re: #host localhost
- From: Giorgos Keramidas
- Re: #host localhost
- From: Bob Eager
- Re: #host localhost
- From: patpro ~ patrick proniewski
- Re: #host localhost
- Prev by Date: Re: Hardware RAID df output...
- Next by Date: Re: #host localhost
- Previous by thread: How to print all files from a directory with lpr?
- Next by thread: Re: #host localhost
- Index(es):
Relevant Pages
|