no more localhost name ?
Patrick Lamaiziere
patfbsd at davenulle.org
Fri Dec 21 10:08:56 UTC 2012
Hello,
(fresh 9.1-STABLE/amd64)
Here localhost or 127.0.0.1 is not resolved anymore. I can see twith
tcpdump hat a DNS request is sent to dns server.
This is something new because a test case used to test name
resolution on a home made application now fails.
$ host localhost
Host localhost not found: 3(NXDOMAIN)
$ host 127.0.0.1
Host 1.0.0.127.in-addr.arpa. not found: 3(NXDOMAIN)
The box uses dhclient.
/etc/hosts
::1 localhost localhost.my.domain
127.0.0.1 localhost localhost.my.domain
/etc/resolv.conf
# Generated by resolvconf
search univ-rennes1.fr
nameserver 129.20.128.2
nameserver 129.20.128.39
nameserver 129.20.128.49
/etc/nsswitch.conf
group: compat
group_compat: nis
hosts: files dns
networks: files
passwd: compat
passwd_compat: nis
shells: files
services: compat
services_compat: nis
protocols: files
rpc: files
The configuration looks good... Any idea?
Thanks regards.
More information about the freebsd-questions
mailing list