Public bug reported:

Binary package hint: libc6

I have a strange problem with DNS lookups to smtp.googlemail.com (and
probably other addresses that have lots of IP records associated to
them). This is what happens with the host command:

$ host smtp.googlemail.com
;; Truncated, retrying in TCP mode.
;; Connection to 192.168.178.1#53(192.168.178.1) for smtp.googlemail.com 
failed: connection refused.

The same happens with dig or nslookup. I verified this with several
computers on different DSL connections. With windows, things are a bit
different: Most 'normal' programs are able to lookup the address
(including telnet), however the windows nslookup also leads an error
message. Interestingly, Linux as Windows both are successfull the first
time after booting, but then never again.

According to a quick google search, the problem seems to be that the DNS
record for smtp.googlemail.com is too big for a single UDP packet. A
second problem is that my router (a "FritzBox" from AVM) does not use an
alternate TCP connection. Thirdly, linux discards the whole truncated
answer, instead of trying to find something useful in the truncated
answer. This is possible, as the use of dig +ignore shows:

$ dig +ignore smtp.googlemail.com

; <<>> DiG 9.5.0-P2 <<>> +ignore smtp.googlemail.com
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 39851
;; flags: qr rd ra; QUERY: 1, ANSWER: 25, AUTHORITY: 3, ADDITIONAL: 0

;; QUESTION SECTION:
;smtp.googlemail.com.           IN      A

;; ANSWER SECTION:
smtp.googlemail.com.    197     IN      CNAME   googlemail-smtp.l.google.com.
googlemail-smtp.l.google.com. 300 IN    A       209.85.218.97
googlemail-smtp.l.google.com. 300 IN    A       209.85.218.98
googlemail-smtp.l.google.com. 300 IN    A       209.85.218.99
googlemail-smtp.l.google.com. 300 IN    A       209.85.218.100
googlemail-smtp.l.google.com. 300 IN    A       209.85.218.101
googlemail-smtp.l.google.com. 300 IN    A       209.85.218.102
googlemail-smtp.l.google.com. 300 IN    A       209.85.218.103
googlemail-smtp.l.google.com. 300 IN    A       209.85.218.104
googlemail-smtp.l.google.com. 300 IN    A       209.85.218.105
googlemail-smtp.l.google.com. 300 IN    A       209.85.218.106
googlemail-smtp.l.google.com. 300 IN    A       209.85.218.107
googlemail-smtp.l.google.com. 300 IN    A       209.85.218.108
googlemail-smtp.l.google.com. 300 IN    A       209.85.218.109
googlemail-smtp.l.google.com. 300 IN    A       209.85.218.110
googlemail-smtp.l.google.com. 300 IN    A       209.85.218.111
googlemail-smtp.l.google.com. 300 IN    A       209.85.218.112
googlemail-smtp.l.google.com. 300 IN    A       209.85.218.113
googlemail-smtp.l.google.com. 300 IN    A       209.85.218.114
googlemail-smtp.l.google.com. 300 IN    A       209.85.218.115
googlemail-smtp.l.google.com. 300 IN    A       209.85.218.116
googlemail-smtp.l.google.com. 300 IN    A       209.85.218.117
googlemail-smtp.l.google.com. 300 IN    A       209.85.218.118
googlemail-smtp.l.google.com. 300 IN    A       209.85.218.119
googlemail-smtp.l.google.com. 300 IN    A       209.85.218.120

;; AUTHORITY SECTION:
l.google.com.           64587   IN      NS      c.l.google.com.
l.google.com.           64587   IN      NS      d.l.google.com.
l.google.com.           64587   IN      NS      e.l.google.com.

;; Query time: 44 msec
;; SERVER: 192.168.178.1#53(192.168.178.1)
;; WHEN: Mon Feb  9 21:46:43 2009
;; MSG SIZE  rcvd: 508

I suppose this is what Windows does. Since the FritzBox routers are VERY
popular in Germany and LOTS of people use googlemail, I consider this a
quite severe problem (my mother wasn't able to send mails for a week
...). I'm not totally sure that libc6 is the right place for this, but
since all programs (thunderbird, ...) are unable to connect to
smtp.googlemail.com, and afaik dns calls are made via libc6, this bug
goes to libc6. If another place is more appropriate, please let me know.

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

-- 
DNS lookup fails if there are too many records records (e.g. 
smtp.googlemail.com)
https://bugs.launchpad.net/bugs/327364
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to