Hi,

On Thu, 14 Feb 2013 23:35:12 +0100
Martin Pola <martin.p...@kottnet.net> wrote:

> I'm trying to get my FreeBSD system to resolve localhost into
> 127.0.0.1, but unfortunately it doesn't work. It appears the resolver
> is never reading from /etc/hosts, where I have this line: 127.0.0.1
> localhost
> 
> Here's a sample output of what I get when I try to resolve the name:
> $ nslookup localhost
> ;; Got recursion not available from 91.90.24.250, trying next server
> Server:         8.8.8.8
> Address:        8.8.8.8#53

you have a problem but I do not know which one.
>  
> ** server can't find localhost: NXDOMAIN
>  
> What am I missing?

nslookup queries a name server. It does not check your /etc/hosts.

Erich
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Reply via email to