[Bug 3211] __dns_lookup and poll logic (unexpected timeouts) [PATCH]
bugzilla at busybox.net
bugzilla at busybox.net
Fri Apr 13 20:06:04 UTC 2012
https://bugs.busybox.net/show_bug.cgi?id=3211
--- Comment #1 from Leonid <lly.dev at gmail.com> 2012-04-13 20:06:03 UTC ---
I can't reproduce the issue with empty /etc/resolv.conf. Probably I miss
something?
Have you some daemon listening 53/udp on the same host?
Can you provide strace output?
It works as designed for me (empty /etc/resolv.conf):
...
socket(PF_INET, SOCK_DGRAM, IPPROTO_UDP) = 3 <0.000062>
connect(3, {sa_family=AF_INET, sin_port=htons(53),
sin_addr=inet_addr("0.0.0.0")}, 28) = 0 <0.000063>
send(3, "\0\2\1\0\0\1\0\0\0\0\0\0\6google\3com\0\0\34\0\1"..., 28, 0) = 28
<0.000329>
poll([{fd=3, events=POLLIN}], 1, 5000) = 1 ([{fd=3, revents=POLLERR}])
<0.000058>
recv(3, 0x48c008, 512, MSG_DONTWAIT) = -1 ECONNREFUSED (Connection refused)
<0.000037>
close(3) = 0 <0.000068>
...
--
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the uClibc-cvs
mailing list