Package: bind9-host
Version: 1:9.2.4-1
Severity: important
The contents of /etc/hosts is ignored, even though both /etc/host.conf
and /etc/nsswitch.conf are correctly configured to try hosts before dns.
$ cat /etc/host.conf
order hosts,bind
multi on
$ cat /etc/nsswitch.conf
# /etc/nsswitch.conf
#
# Example configuration of GNU Name Service Switch functionality.
# If you have the `glibc-doc' and `info' packages installed, try:
# `info libc "Name Service Switch"' for information about this file.
passwd: compat
group: compat
shadow: compat
hosts: files dns
networks: files
protocols: db files
services: db files
ethers: db files
rpc: db files
#netgroup: nis
# slow mc start without network. try this:
netgroup: files
$ grep test /etc/hosts
127.0.0.2 host-test.example.com host-test
$ host 127.0.0.2
Host 2.0.0.127.in-addr.arpa not found: 3(NXDOMAIN)
$ host host-test
Host host-test not found: 3(NXDOMAIN)
$ host host-test.example.com
Host host-test.example.com not found: 3(NXDOMAIN)
$ dpkg -l |grep host
ii bind9-host 9.2.4-1 Version of 'host' bundled with BIND 9.X
-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.6.13.2-05092302
Locale: LANG=en_CH, LC_CTYPE=en_CH (charmap=ISO-8859-1)
Versions of packages bind9-host depends on:
ii libc6 2.3.2.ds1-22 GNU C Library: Shared libraries an
ii libdns16 1:9.2.4-1 DNS Shared Library used by BIND
ii libisc7 1:9.2.4-1 ISC Shared Library used by BIND
ii libssl0.9.7 0.9.7e-3 SSL shared libraries
-- no debconf information
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]