[Bug 460581] [NEW] [Karmic] host lookup error

2009-10-25 Thread Marcerino
Public bug reported:

Binary package hint: bind9

when lookup up a host with the 'host command' there is a long wait after
the initial response. This seems to be related to second round of
lookup, which fails:

m...@purple:$ host -v www.google.com
Trying www.google.com
;; -HEADER- opcode: QUERY, status: NOERROR, id: 13531
;; flags: qr rd ra; QUERY: 1, ANSWER: 7, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;www.google.com.IN  A

;; ANSWER SECTION:
www.google.com. 10914   IN  CNAME   www.l.google.com.
www.l.google.com.   190 IN  A   74.125.77.103
www.l.google.com.   190 IN  A   74.125.77.105
www.l.google.com.   190 IN  A   74.125.77.99
www.l.google.com.   190 IN  A   74.125.77.106
www.l.google.com.   190 IN  A   74.125.77.104
www.l.google.com.   190 IN  A   74.125.77.147

Received 148 bytes from 192.168.1.1#53 in 51 ms
Trying www.l.google.com
;; connection timed out; no servers could be reached
Trying www.l.google.com
;; connection timed out; no servers could be reached


This problem was introduced by upgrading to Karmic. It also affects wget and 
the web browser (only on initial host lookups).

ProblemType: Bug
Architecture: i386
CheckboxSubmission: 0623bc3e86ec6ff42e9a53f9c34bce9a
CheckboxSystem: c8e8edcc4d15e0d55af04774be77e330
Date: Sun Oct 25 19:25:54 2009
DistroRelease: Ubuntu 9.10
Package: bind9-host 1:9.6.1.dfsg.P1-3
ProcEnviron:
 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

-- 
[Karmic] host lookup error
https://bugs.launchpad.net/bugs/460581
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


[Bug 460581] Re: [Karmic] host lookup error

2009-10-25 Thread Marcerino

** Attachment added: Dependencies.txt
   http://launchpadlibrarian.net/34365889/Dependencies.txt

** Attachment added: XsessionErrors.txt
   http://launchpadlibrarian.net/34365892/XsessionErrors.txt

-- 
[Karmic] host lookup error
https://bugs.launchpad.net/bugs/460581
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


[Bug 460581] Re: [Karmic] host lookup error

2009-10-26 Thread Marcerino
Hi Chuck,

My revolv.conf looks like this:
m...@purple:~$ cat /etc/resolv.conf 
# Generated by NetworkManager
domain home
search home
nameserver 192.168.1.1

It point to the DNS service of my DSL modem.

I ran strace, and this is where it get's stuck:
futex(0xb7855048, FUTEX_WAKE_OP_PRIVATE, 1, 1, 0xb7855044, {FUTEX_OP_SET, 0, 
FUTEX_OP_CMP_GT, 1}) = 1
rt_sigaction(SIGHUP, {0x3ad500, ~[RTMIN RT_1], 0}, NULL, 8) = 0
rt_sigsuspend([]www.google.com has address 74.125.77.103

The full strace output is attached to this ticket as well.

-- 
[Karmic] host lookup error
https://bugs.launchpad.net/bugs/460581
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


[Bug 460581] Re: [Karmic] host lookup error

2009-10-26 Thread Marcerino

** Attachment added: host_strace.log
   http://launchpadlibrarian.net/34421863/host_strace.log

-- 
[Karmic] host lookup error
https://bugs.launchpad.net/bugs/460581
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


[Bug 460581] Re: [Karmic] host lookup error

2009-10-26 Thread Marcerino
And the output of lddd `which host`. Maybe you can compare the library
versions to ones on your computer?

m...@purple:~$ ldd `which host`
linux-gate.so.1 =  (0x00e47000)
liblwres.so.50 = /usr/lib/liblwres.so.50 (0x00fa2000)
libdns.so.50 = /usr/lib/libdns.so.50 (0x0062)
libgssapi_krb5.so.2 = /usr/lib/libgssapi_krb5.so.2 (0x00d4f000)
libcrypto.so.0.9.8 = /lib/i686/cmov/libcrypto.so.0.9.8 (0x008d6000)
libbind9.so.50 = /usr/lib/libbind9.so.50 (0x00c67000)
libisc.so.50 = /usr/lib/libisc.so.50 (0x00d8d000)
libisccfg.so.50 = /usr/lib/libisccfg.so.50 (0x003f3000)
libcap.so.2 = /lib/libcap.so.2 (0x0011)
libpthread.so.0 = /lib/tls/i686/cmov/libpthread.so.0 (0x00418000)
libxml2.so.2 = /usr/lib/libxml2.so.2 (0x00477000)
libc.so.6 = /lib/tls/i686/cmov/libc.so.6 (0x00116000)
libGeoIP.so.1 = /usr/lib/libGeoIP.so.1 (0x00ed8000)
libkrb5.so.3 = /usr/lib/libkrb5.so.3 (0x0031b000)
libk5crypto.so.3 = /usr/lib/libk5crypto.so.3 (0x0025a000)
libcom_err.so.2 = /lib/libcom_err.so.2 (0x00285000)
libkrb5support.so.0 = /usr/lib/libkrb5support.so.0 (0x00e9a000)
libdl.so.2 = /lib/tls/i686/cmov/libdl.so.2 (0x00b1c000)
libkeyutils.so.1 = /lib/libkeyutils.so.1 (0x00e2d000)
libresolv.so.2 = /lib/tls/i686/cmov/libresolv.so.2 (0x00289000)
libz.so.1 = /lib/libz.so.1 (0x0029d000)
libisccc.so.50 = /usr/lib/libisccc.so.50 (0x00d28000)
/lib/ld-linux.so.2 (0x00ccd000)
libm.so.6 = /lib/tls/i686/cmov/libm.so.6 (0x002b3000)

-- 
[Karmic] host lookup error
https://bugs.launchpad.net/bugs/460581
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 460581] Re: [Karmic] host lookup error

2009-10-27 Thread Marcerino
Do you maybe have any further suggestions for how to debug this?

Something must be interfering with those lookups. The effect is new in
Karmic, so would be nice to figure out what it is.

What is the difference between the first lookup that 'host' does and the
second?

It seems that something is blocking the corresponding network traffic. II
have no firewall, so that can't be it. I looked at various log-files in
/var/log, but the only suspicious thing I see are a lot of messages from
wpa_supplicant. Is there something I can do to verify whether this is
related? My network is wireless with simple WEP-authentication, so maybe
wpa_supplicant is not needed? If so, why has it been started?

Best regards,

Marco.

On Tue, Oct 27, 2009 at 3:52 PM, Chuck Short
chuck.sh...@canonical.comwrote:

 I am still not able to reproduce this. I think its something with your
 setup.

 Regards
 chuck


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

 --
 [Karmic] host lookup error
 https://bugs.launchpad.net/bugs/460581
 You received this bug notification because you are a direct subscriber
 of the bug.


-- 
[Karmic] host lookup error
https://bugs.launchpad.net/bugs/460581
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


[Bug 504963] [NEW] [Karmic] host -4 does IPv6 lookup -- times out

2010-01-08 Thread Marcerino
Public bug reported:

Binary package hint: bind9

When using 'host' to do a dns lookup on Karmic, I get a fast initial
response for the IPv4 lookup:

m...@purple:~$ host www.google.com
www.google.com is an alias for www.l.google.com.
www.l.google.com has address 74.125.77.99
www.l.google.com has address 74.125.77.147
www.l.google.com has address 74.125.77.104

but then a long wait and a timeout on IPv6:

;; connection timed out; no servers could be reached
;; connection timed out; no servers could be reached

I guess this is because my home network router/DNS cache does not
support IPv6. This timeout for host lookups with 'host' is not such a
problem, but also seems to affect firefox (fixable with a setting) and
ssh logins to remote machines. Why does the host command look for a IPv6
address after It gets a good IPv4 response?

I tried forcing only IPv4 lookup with 'host -4', but the result is the
same:

m...@purple:~$ host -4 www.google.com
www.google.com is an alias for www.l.google.com.
www.l.google.com has address 74.125.77.147
www.l.google.com has address 74.125.77.104
www.l.google.com has address 74.125.77.99
;; connection timed out; no servers could be reached
;; connection timed out; no servers could be reached

Is that behaviour intended? Is there really no way to gracefully ignore IPv6 
when the local network does not support it? I am not the only one to run into 
this problem. See, for example:
http://wiki.kartbuilding.net/index.php/DNS_-_Bind9#Slow_DNS_lookup_issues_with_bind9
http://ubuntuforums.org/showthread.php?t=87798
https://help.ubuntu.com/community/WebBrowsingSlowIPv6IPv4
http://www.ubuntugeek.com/how-to-disable-ipv6-in-ubuntu.html

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

-- 
[Karmic] host -4 does IPv6 lookup -- times out
https://bugs.launchpad.net/bugs/504963
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


[Bug 504963] Re: [Karmic] host -4 does IPv6 lookup -- times out

2010-01-08 Thread Marcerino
I some posts, I found that ip -6 route may provide useful info. Here is
the output:

m...@purple:~$ ip -6 r
fe80::/64 dev wlan0  proto kernel  metric 256  mtu 1500 advmss 1440 hoplimit 0

a friend of mine does not have the problem on the LTS version (8.04) of Ubuntu, 
and a different network. The output of the above on her machine is
fe80::/64 dev eth1  metric 256  expires 21330140sec mtu 1500 advmss 1440 
hoplimit 4294967295
ff00::/8 dev eth1  metric 256  expires 21330140sec mtu 1500 advmss 1440 
hoplimit 4294967295

Could it be that there is something wrong with the IPv6 kernel setup in
Karmic/on my system?

-- 
[Karmic] host -4 does IPv6 lookup -- times out
https://bugs.launchpad.net/bugs/504963
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 504963] Re: [Karmic] host -4 does IPv6 lookup -- times out

2010-01-18 Thread Marcerino
Yes, the DNS server in my DSL modem does not support IPv6 (A requests
?). I am wondering why 'host' does a IPv6 (AA) lookup after receiving a
valid response on IPv4 (AAA request).

I try looking into the debug printouts, but did not learn much. I can post
the debug-output if it is helpful.

Marco.

On Mon, Jan 18, 2010 at 3:19 PM, Chuck Short
chuck.sh...@canonical.comwrote:

 I am not able to reproduce this at all.  I think you may have problems
 with your dns server.

 chuck

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

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

 --
 [Karmic] host -4 does IPv6 lookup -- times out
 https://bugs.launchpad.net/bugs/504963
 You received this bug notification because you are a direct subscriber
 of the bug.


-- 
[Karmic] host -4 does IPv6 lookup -- times out
https://bugs.launchpad.net/bugs/504963
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


[Bug 504963] Re: [Karmic] host -4 does IPv6 lookup -- times out

2010-02-08 Thread Marcerino
Hi Chuck,

Attached the debug printout from host -D. The first two files 
host_before_wait.log and host_all.log are from just running 'host -D 
www.google.com, while the file host_minus4*.log are from running host -D -4 
www.google.com. In each case, the 'before_wait' file is the log up to the 
moment that the program gets temporarily stuck; it waits about half a second 
and then later once or twice more. Each time just after printing:
unlock_lookup dighost.c:2145
the full log is in the *all.log files.

Hope this is useful. Let me know if you need more info.

Marco.


** Attachment added: host_before_wait.log
   http://launchpadlibrarian.net/38900238/host_before_wait.log

-- 
[Karmic] host -4 does IPv6 lookup -- times out
https://bugs.launchpad.net/bugs/504963
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


[Bug 504963] Re: [Karmic] host -4 does IPv6 lookup -- times out

2010-02-08 Thread Marcerino

** Attachment added: host_all.log
   http://launchpadlibrarian.net/38900244/host_all.log

-- 
[Karmic] host -4 does IPv6 lookup -- times out
https://bugs.launchpad.net/bugs/504963
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


[Bug 504963] Re: [Karmic] host -4 does IPv6 lookup -- times out

2010-02-08 Thread Marcerino

** Attachment added: host_minus4_before_wait.log
   http://launchpadlibrarian.net/38900252/host_minus4_before_wait.log

-- 
[Karmic] host -4 does IPv6 lookup -- times out
https://bugs.launchpad.net/bugs/504963
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


[Bug 504963] Re: [Karmic] host -4 does IPv6 lookup -- times out

2010-02-08 Thread Marcerino

** Attachment added: host_minus4_all.log
   http://launchpadlibrarian.net/38900270/host_minus4_all.log

-- 
[Karmic] host -4 does IPv6 lookup -- times out
https://bugs.launchpad.net/bugs/504963
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


[Bug 504963] Re: [Karmic] host -4 does IPv6 lookup -- times out

2010-03-04 Thread Marcerino
A similar issue is discussed here:
https://bugs.launchpad.net/ubuntu/+source/eglibc/+bug/417757

but I think that's about a different DNS resolver. E.g. in Firefox you
can switch off ipv6 lookups and the delay is gone. Also note the comment
in that thread:

The 5 second lag occurs with the Livebox (used by Orange, 12 million
broadband internet customers in Europe).

Looks like I'm one of the lucky 12 million :)

-- 
[Karmic] host -4 does IPv6 lookup -- times out
https://bugs.launchpad.net/bugs/504963
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