[Bug 457045] [NEW] Command host chooses another DNS server to query than I specified

LGB [Gábor Lénárt] spam at lgb.hu
Wed Oct 21 10:38:46 BST 2009


Public bug reported:

Binary package hint: bind9

lgb at vega:~$ host -t ns ibm.com. nsm.invitel.net.
Using domain server:
Name: 62.77.203.10
Address: 62.77.203.10#53
Aliases: 
[...]

Whatever I specify at the end of the command line for command "host", it
seems the queried server is always 62.77.203.10. This is up-to-date
karmic 32-bit on x86 (I tried with or without ending dots too). On a
hardy box by contrast:

lgb at ipop:~$ host -t ns ibm.com. nsm.invitel.net.
Using domain server:
Name: nsm.invitel.net.
Address: 213.163.0.156#53
Aliases: 

The odd thing, that even if I specify IP address, there is some problem:

lgb at vega:~$ host -t ns ibm.com 62.77.203.11
Using domain server:
Name: 62.77.203.10
Address: 62.77.203.10#53
Aliases: 

lgb at vega:~$ host -t ns ibm.com 213.163.0.156
Using domain server:
Name: 62.77.203.10
Address: 62.77.203.10#53
Aliases: 

Content of /etc/resolv.conf:

# Generated by NetworkManager
search invitel.net
nameserver 62.77.203.10
nameserver 213.163.34.66

Content of /etc/nsswitch.conf:

# /etc/nsswitch.conf
#
# Example configuration of GNU Name Service Switch functionality.
# If you have the `glibc-doc-reference' and `info' packages installed, try:
# `info libc "Name Service Switch"' for information about this file.

passwd:         compat
group:          compat
shadow:         compat

hosts:          files mdns4_minimal [NOTFOUND=return] dns mdns4
networks:       files

protocols:      db files
services:       db files
ethers:         db files
rpc:            db files

netgroup:       nis

kernel:

Linux vega 2.6.31-14-generic #48-Ubuntu SMP Fri Oct 16 14:04:26 UTC 2009
i686 GNU/Linux

package:

bind9-host:
  Installed: 1:9.6.1.dfsg.P1-3
  Candidate: 1:9.6.1.dfsg.P1-3
  Version table:
 *** 1:9.6.1.dfsg.P1-3 0
        500 http://archive.ubuntu.com karmic/main Packages
        100 /var/lib/dpkg/status

Btw, dig seems to work normally ...

ProblemType: Bug
Architecture: i386
Date: Wed Oct 21 11:27:56 2009
DistroRelease: Ubuntu 9.10
NonfreeKernelModules: nvidia
Package: bind9-host 1:9.6.1.dfsg.P1-3
ProcEnviron:
 LANGUAGE=en_US.UTF-8
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-14.48-generic
SourcePackage: bind9
Uname: Linux 2.6.31-14-generic i686

** Affects: bind9 (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: apport-bug i386

-- 
Command host chooses another DNS server to query than I specified
https://bugs.launchpad.net/bugs/457045
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to bind9 in ubuntu.



More information about the Ubuntu-server-bugs mailing list