Your message dated Sun, 13 May 2007 17:44:20 +0200
with message-id <[EMAIL PROTECTED]>
and subject line dig and host are for DNS, not the NSS hosts database
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
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


--- End Message ---
--- Begin Message ---
I'm sorry but your reports are based on a misunderstanding.  As
documented in their manual pages, dig and host are DNS tools.  They do
not use NSS, so they ignore the NSS databases.

To query the NSS hosts database, use "getent hosts".

--- End Message ---

Reply via email to