Resolver not always resolving hostnames
Hajimu UMEMOTO
ume at freebsd.org
Tue Oct 24 15:20:26 UTC 2006
Hi,
>>>>> On Tue, 24 Oct 2006 21:41:44 +0800
>>>>> "Jiawei Ye" <leafy7382 at gmail.com> said:
leafy7382> On 10/24/06, Doug Barton <dougb at freebsd.org> wrote:
>
> Try applying the patch, and commenting out the options line. The patch
> fixes things in what should be a more robust way.
>
> Doug
>
> --
>
> This .signature sanitized for your protection
leafy7382> This is much better. It would be great if this is commited.
I've committed it into 7-CURRENT, and I'll MFC it into RELENG_6 after
3 days.
The fix should help in certain case. However, it seems doesn't help
for nork-san's case. He could reproduce it, and sent me his ktrace
output. As far as I can see his output, his local name server (BIND
9.3.2-P1) returned the response with no answer record. As a result,
his csup ended up with following error:
Name lookup failure for "cvsup.jp.freebsd.org": hostname nor
servname provided, or not known
I suspect that the BIND9's named have some problem.
3434 csup CALL sendto(0x4,0x808f000,0x26,0,0,0)
3434 csup GIO fd 4 wrote 38 bytes
0x0000 855c 0100 0001 0000 0000 0000 0563 7673 |.\...........cvs|
0x0010 7570 026a 7007 6672 6565 6273 6403 6f72 |up.jp.freebsd.or|
0x0020 6700 0001 0001 |g.....|
3434 csup RET sendto 38/0x26
3434 csup CALL clock_gettime(0,0xbfbfcca8)
3434 csup RET clock_gettime 0
3434 csup CALL kevent(0x3,0xbfbfcda0,0x1,0xbfbfcda0,0x1,0xbfbfcd78)
3434 csup RET kevent 1
3434 csup CALL recvfrom(0x4,0x806f000,0x10000,0,0xbfbfcfc0,0xbfbfcd74)
3434 csup GIO fd 4 read 38 bytes
0x0000 855c 8180 0001 0000 0000 0000 0563 7673 |.\...........cvs|
0x0010 7570 026a 7007 6672 6565 6273 6403 6f72 |up.jp.freebsd.or|
0x0020 6700 0001 0001 |g.....|
3434 csup RET recvfrom 38/0x26
3434 csup CALL close(0x4)
3434 csup RET close 0
3434 csup CALL close(0x3)
3434 csup RET close 0
3434 csup CALL kqueue
3434 csup RET kqueue 3
3434 csup CALL socket(0x2,0x2,0)
3434 csup RET socket 4
3434 csup CALL connect(0x4,0x402b9490,0x10)
3434 csup RET connect 0
3434 csup CALL sendto(0x4,0x808f000,0x35,0,0,0)
3434 csup GIO fd 4 wrote 53 bytes
0x0000 855d 0100 0001 0000 0000 0000 0563 7673 |.]...........cvs|
0x0010 7570 026a 7007 6672 6565 6273 6403 6f72 |up.jp.freebsd.or|
0x0020 670a 6e69 6e74 682d 6e69 6e65 0363 6f6d |g.ninth-nine.com|
0x0030 0000 0100 01 |.....|
3434 csup RET sendto 53/0x35
3434 csup CALL clock_gettime(0,0xbfbfcca8)
3434 csup RET clock_gettime 0
3434 csup CALL kevent(0x3,0xbfbfcda0,0x1,0xbfbfcda0,0x1,0xbfbfcd78)
3434 csup RET kevent 1
3434 csup CALL recvfrom(0x4,0x806f000,0x10000,0,0xbfbfcfc0,0xbfbfcd74)
3434 csup GIO fd 4 read 104 bytes
0x0000 855d 8583 0001 0000 0001 0000 0563 7673 |.]...........cvs|
0x0010 7570 026a 7007 6672 6565 6273 6403 6f72 |up.jp.freebsd.or|
0x0020 670a 6e69 6e74 682d 6e69 6e65 0363 6f6d |g.ninth-nine.com|
0x0030 0000 0100 01c0 2100 0600 0100 0151 8000 |......!......Q..|
0x0040 2703 6e73 31c0 210a 686f 7374 6d61 7374 |'.ns1.!.hostmast|
0x0050 6572 c021 7792 15a4 0000 1c20 0000 0384 |er.!w...... ....|
0x0060 0024 ea00 0001 5180 |.$....Q.|
3434 csup RET recvfrom 104/0x68
3434 csup CALL close(0x4)
3434 csup RET close 0
3434 csup CALL close(0x3)
3434 csup RET close 0
3434 csup CALL break(0x807e000)
3434 csup RET break 0
3434 csup CALL fstat(0x1,0xbfbfdaf0)
3434 csup RET fstat 0
3434 csup CALL ioctl(0x1,TIOCGETA,0xbfbfdb30)
3434 csup RET ioctl 0
3434 csup CALL write(0x1,0x806e000,0x5d)
3434 csup GIO fd 1 wrote 93 bytes
"Name lookup failure for "cvsup.jp.freebsd.org": hostname nor servname \
provided, or not known
"
Sincerely,
--
Hajimu UMEMOTO @ Internet Mutual Aid Society Yokohama, Japan
ume at mahoroba.org ume@{,jp.}FreeBSD.org
http://www.imasy.org/~ume/
More information about the freebsd-current
mailing list