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

2009-10-21 Thread LGB [Gábor Lénárt]
Public bug reported:

Binary package hint: bind9

l...@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:

l...@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:

l...@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: 

l...@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.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


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

2009-10-21 Thread Mathias Gug

On Wed, Oct 21, 2009 at 09:38:46AM -, LGB [Gábor Lénárt] wrote:
 l...@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).

Works correctly here:

math...@mathiaz:~$ host -t ns google.fr. ns1.primus.ca.
Using domain server:
Name: ns1.primus.ca.
Address: 216.254.141.2#53
Aliases: 

google.fr name server ns4.google.com.
google.fr name server ns1.google.com.
google.fr name server ns3.google.com.
google.fr name server ns2.google.com.
math...@mathiaz:~$ host -t ns google.fr. ns2.primus.ca.
Using domain server:
Name: ns2.primus.ca.
Address: 209.90.160.222#53
Aliases: 

google.fr name server ns2.google.com.
google.fr name server ns3.google.com.
google.fr name server ns4.google.com.
google.fr name server ns1.google.com.
math...@mathiaz:~$ 

This is one karmic 64bits though.

 status incomplete
 importance low

-- 
Mathias Gug
Ubuntu Developer  http://www.ubuntu.com


** Changed in: bind9 (Ubuntu)
   Importance: Undecided = Low

** Changed in: bind9 (Ubuntu)
   Status: New = Incomplete

-- 
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.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs