Odd resolving problem

Danny Mayer mayer at gis.net
Mon Dec 10 04:13:08 UTC 2001


At 07:12 PM 12/9/01, Terrence Koeman wrote:
>-----BEGIN PGP SIGNED MESSAGE-----
>Hash: SHA1
>
>Hello,
>
>The log I sent with this message was debug level 2 not 4. I redid the
>test on debug 4 and found this:
>
>[...]
>10-Dec-2001 00:50:27.000 default: debug 1: resend(addr=3 n=0) ->
>[195.185.185.60].53 ds=432 nsid=1726 id=6 16ms
>10-Dec-2001 00:50:27.000 default: debug 1: tcp_send
>10-Dec-2001 00:50:27.000 default: debug 3: sq_add(0x6d02f4)
>evSelectFD(ctx 0x7c0020, fd 484, mask 0x7, func 0x100043b0, uap
>0x4a167f0)
>evDeselectFD(fd 484, mask 0x7)
>10-Dec-2001 00:50:27.000 default: debug 2: sq_remove(0x6d02f4, 484)
>rfcnt=1
>10-Dec-2001 00:50:27.000 default: debug 3: error resending tcp msg:
>Errcode: 9: Bad file descriptor
>[...]
>10-Dec-2001 00:50:31.000 default: debug 1: resend(addr=4 n=0) ->
>[212.246.228.11].53 ds=432 nsid=1726 id=6 22ms
>10-Dec-2001 00:50:31.000 default: debug 1: tcp_send
>10-Dec-2001 00:50:31.000 default: debug 3: sq_add(0x6d02f4)
>evSelectFD(ctx 0x7c0020, fd 484, mask 0x7, func 0x100043b0, uap
>0x6e8684)
>evDeselectFD(fd 484, mask 0x7)
>10-Dec-2001 00:50:31.000 default: debug 2: sq_remove(0x6d02f4, 484)
>rfcnt=1
>10-Dec-2001 00:50:31.000 default: debug 3: error resending tcp msg:
>Errcode: 9: Bad file descriptor
>[...]
>10-Dec-2001 00:50:35.000 default: debug 1: resend(addr=0 n=1) ->
>[213.221.172.238].53 ds=432 nsid=1726 id=6 7ms
>10-Dec-2001 00:50:35.000 default: debug 1: tcp_send
>10-Dec-2001 00:50:35.000 default: debug 3: sq_add(0x6d02f4)
>evSelectFD(ctx 0x7c0020, fd 484, mask 0x7, func 0x100043b0, uap
>0x4a170e8)
>evDeselectFD(fd 484, mask 0x7)
>10-Dec-2001 00:50:35.000 default: debug 2: sq_remove(0x6d02f4, 484)
>rfcnt=1
>10-Dec-2001 00:50:35.000 default: debug 3: error resending tcp msg:
>Errcode: 9: Bad file descriptor
>
>I think the "error resending tcp msg: Errcode: 9: Bad file descriptor"
>means it cannot bind to the IP and thus never sends the tcp message to
>the quakenet.org nameservers or something like that. What could cause
>this?

I'm troubled that this apparently only showed up at debug level 3.  It should
have shown up without debug on.  The error indicates that it's having
trouble with a TCP socket in order to send the query.  I don't know
why without looking at the code which I won't be able to do right now.

         Danny



More information about the bind-users mailing list