[Bug 804142] New: /usr/bin/dig in bind-utils-9.9.2P1 timeout - no servers could be reached
https://bugzilla.novell.com/show_bug.cgi?id=804142 https://bugzilla.novell.com/show_bug.cgi?id=804142#c0 Summary: /usr/bin/dig in bind-utils-9.9.2P1 timeout - no servers could be reached Classification: openSUSE Product: openSUSE 12.2 Version: Final Platform: x86 OS/Version: openSUSE 12.2 Status: NEW Severity: Major Priority: P5 - None Component: Network AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: chris.sylvain@gmail.com QAContact: qa-bugs@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux i686) AppleWebKit/537.17 (KHTML, like Gecko) Chrome/24.0.1312.57 Safari/537.17 /usr/bin/dig in bind-utils-9.8.4P1 (openSUSE 12.1) works. /usr/bin/dig in bind-utils-9.9.2P1 (openSUSE 12.2) and built from 9.9.3b1 source reports: ";; connection timed out; no servers could be reached" "strace dig any google.com" indicates the first recvfrom() call fails with EAGAIN and occurs -before- the first sendmsg() which sends the query to the nameserver. note: nslookup on the same 12.2 system works fine. relevant strace output: socket(PF_INET, SOCK_DGRAM, IPPROTO_UDP) = 4 fcntl64(4, F_DUPFD, 20) = 20 close(4) = 0 fcntl64(20, F_GETFL) = 0x2 (flags O_RDWR) fcntl64(20, F_SETFL, O_RDWR|O_NONBLOCK) = 0 setsockopt(20, SOL_SOCKET, SO_TIMESTAMP, [1], 4) = 0 setsockopt(20, SOL_IP, IP_MTU_DISCOVER, [0], 4) = 0 getsockopt(20, SOL_SOCKET, SO_RCVBUF, [163840], [4]) = 0 bind(20, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("0.0.0.0")}, 16) = 0 recvmsg(20, 0xbfc65634, 0) = -1 EAGAIN (Resource temporarily unavailable) epoll_ctl(3, EPOLL_CTL_ADD, 20, {...}) = 0 gettimeofday({1360987259, 585410}, NULL) = 0 sendmsg(20, {msg_name(16)={sa_family=AF_INET, sin_port=htons(53), sin_addr=inet_addr("192.168.11.252")}, msg_iov(1)=[{"\306\301\1 \0\1\0\0\0\0\0\1\6google\3com\0\0\377\0\1\0\0)\20"..., 39}], msg_controllen=0, msg_flags=0}, 0) = 39 gettimeofday({1360987259, 585497}, NULL) = 0 epoll_wait(3, {}, 64, 0) = 0 gettimeofday({1360987259, 585548}, NULL) = 0 gettimeofday({1360987259, 585571}, NULL) = 0 epoll_wait(3, {}, 64, 5000) = 0 gettimeofday({1360987264, 590659}, NULL) = 0 gettimeofday({1360987264, 590719}, NULL) = 0 gettimeofday({1360987264, 590776}, NULL) = 0 gettimeofday({1360987264, 590796}, NULL) = 0 sendmsg(20, {msg_name(16)={sa_family=AF_INET, sin_port=htons(53), sin_addr=inet_addr("192.168.11.252")}, msg_iov(1)=[{"\306\301\1 \0\1\0\0\0\0\0\1\6google\3com\0\0\377\0\1\0\0)\20"..., 39}], msg_controllen=0, msg_flags=0}, 0) = 39 gettimeofday({1360987264, 590874}, NULL) = 0 epoll_wait(3, {}, 64, 0) = 0 gettimeofday({1360987264, 590917}, NULL) = 0 gettimeofday({1360987264, 590934}, NULL) = 0 epoll_wait(3, {}, 64, 5000) = 0 gettimeofday({1360987269, 591149}, NULL) = 0 gettimeofday({1360987269, 591186}, NULL) = 0 gettimeofday({1360987269, 591218}, NULL) = 0 gettimeofday({1360987269, 591245}, NULL) = 0 sendmsg(20, {msg_name(16)={sa_family=AF_INET, sin_port=htons(53), sin_addr=inet_addr("192.168.11.252")}, msg_iov(1)=[{"\306\301\1 \0\1\0\0\0\0\0\1\6google\3com\0\0\377\0\1\0\0)\20"..., 39}], msg_controllen=0, msg_flags=0}, 0) = 39 gettimeofday({1360987269, 591324}, NULL) = 0 epoll_wait(3, {}, 64, 0) = 0 gettimeofday({1360987269, 591377}, NULL) = 0 gettimeofday({1360987269, 591400}, NULL) = 0 epoll_wait(3, {}, 64, 5000) = 0 gettimeofday({1360987274, 594178}, NULL) = 0 gettimeofday({1360987274, 594230}, NULL) = 0 fstat64(1, {st_mode=S_IFCHR|0600, st_rdev=makedev(136, 0), ...}) = 0 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb76fa000 write(1, "\n", 1 ) = 1 write(1, "; <<>> DiG 9.9.3b1 <<>> any goog"..., 39; <<>> DiG 9.9.3b1 <<>> any google.com ) = 39 write(1, ";; global options: +cmd\n", 24;; global options: +cmd ) = 24 write(1, ";; connection timed out; no serv"..., 53;; connection timed out; no servers could be reached ) = 53 epoll_ctl(3, EPOLL_CTL_DEL, 20, {...}) = 0 epoll_ctl(3, EPOLL_CTL_DEL, 20, {...}) = -1 ENOENT (No such file or directory) close(20) = 0 kill(28216, SIGTERM) = 0 --- SIGTERM {si_signo=SIGTERM, si_code=SI_USER, si_pid=28216, si_uid=1001} --- sigreturn() (mask []) = 0 gettimeofday({1360987274, 594667}, NULL) = 0 close(3) = 0 gettimeofday({1360987274, 594759}, NULL) = 0 brk(0xa02b000) = 0xa02b000 munmap(0xb76fb000, 93252) = 0 brk(0xa029000) = 0xa029000 munmap(0xb6fe3000, 266240) = 0 exit_group(9) = ? +++ exited with 9 +++ Reproducible: Always Steps to Reproduce: 1. dig any google.com 2. .. wait 3. observe results Actual Results: ; <<>> DiG 9.9.2-P1 <<>> any google.com ;; global options: +cmd ;; connection timed out; no servers could be reached -and- ; <<>> DiG 9.9.3b1 <<>> any google.com ;; global options: +cmd ;; connection timed out; no servers could be reached Expected Results: something which looks very much like: ; <<>> DiG 9.8.4-P1 <<>> any google.com ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 55700 ;; flags: qr rd ra; QUERY: 1, ANSWER: 22, AUTHORITY: 0, ADDITIONAL: 3 ;; QUESTION SECTION: ;google.com. IN ANY ;; ANSWER SECTION: google.com. 183 IN A 74.125.226.233 google.com. 183 IN A 74.125.226.228 google.com. 183 IN A 74.125.226.229 google.com. 183 IN A 74.125.226.225 google.com. 183 IN A 74.125.226.238 google.com. 183 IN A 74.125.226.232 google.com. 183 IN A 74.125.226.224 google.com. 183 IN A 74.125.226.231 google.com. 183 IN A 74.125.226.227 google.com. 183 IN A 74.125.226.226 google.com. 183 IN A 74.125.226.230 google.com. 179194 IN NS ns4.google.com. google.com. 179194 IN NS ns1.google.com. google.com. 179194 IN NS ns2.google.com. google.com. 179194 IN NS ns3.google.com. google.com. 45736 IN SOA ns1.google.com. dns-admin.google.com. 2013020700 7200 1800 1209600 300 google.com. 55 IN AAAA 2607:f8b0:4006:801::1002 google.com. 270 IN MX 50 alt4.aspmx.l.google.com. google.com. 270 IN MX 10 aspmx.l.google.com. google.com. 270 IN MX 40 alt3.aspmx.l.google.com. google.com. 270 IN MX 20 alt1.aspmx.l.google.com. google.com. 270 IN MX 30 alt2.aspmx.l.google.com. ;; ADDITIONAL SECTION: ns1.google.com. 176510 IN A 216.239.32.10 ns2.google.com. 176466 IN A 216.239.34.10 ns3.google.com. 176506 IN A 216.239.36.10 ;; Query time: 40 msec ;; SERVER: 192.168.11.252#53(192.168.11.252) ;; WHEN: Fri Feb 15 23:35:07 2013 ;; MSG SIZE rcvd: 506 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=804142
https://bugzilla.novell.com/show_bug.cgi?id=804142#c1
--- Comment #1 from Christopher Sylvain
https://bugzilla.novell.com/show_bug.cgi?id=804142
https://bugzilla.novell.com/show_bug.cgi?id=804142#c
Du Weihua
https://bugzilla.novell.com/show_bug.cgi?id=804142
https://bugzilla.novell.com/show_bug.cgi?id=804142#c2
--- Comment #2 from Christopher Sylvain
https://bugzilla.novell.com/show_bug.cgi?id=804142
https://bugzilla.novell.com/show_bug.cgi?id=804142#c3
Reinhard Max
participants (1)
-
bugzilla_noreply@novell.com