Compiling Bind 9.3.1 on OS/2

Stefan Puiu stefan.puiu at gmail.com
Fri Dec 16 07:54:06 UTC 2005


Hi,
nslookup tries to lookup the hostname for 192.168.0.2, and that fails,
causing nslookup to also fail. Try using dig (if you search the archive,
it's the recommended tool).

And 49160 is the port number, no need to worry about it :). Really,
stripping it off in the code wouldn't be advisable.

I can't help you with the error in the log though, but it seems that BIND
received nslookup's PTR query and fails to resolve it. I won't go into
further speculation, since I don't know the code in order to explain what
the sendto error means ("invalid file").

Have you tried searching the archives? There are some entries showing up,
not sure if they're related to your case:

http://marc.theaimsgroup.com/?l=bind-users&m3226511823277&w=2

Another message mentions an older version of BIND (are you sure you're
running 9.3.1 btw?):

http://marc.theaimsgroup.com/?l=bind-users&m9537562524811&w=2

On 12/15/05, Paul Smedley <paulat at smedleydot.info> wrote:
>
> Hi All,
> I'm trying to build Bind 9.3.1 on OS/2.
>
> I have named.exe building - but it won't answer queries.  It _is_
> listening on port 53 (I can telnet to it) but a nslookup request
> returns:
> [E:\bind9\etc\namedb]nslookup google.com 192.168.0.2
> *** Can't find server name for address 192.168.0.2: Timed out
> *** Default servers are not available
>
> Looking at named.run I see:
> 15-Dec-2005 16:17:58.814 socket 0x22dc7c0 192.168.0.4#49160: packet
> received correctly
> 15-Dec-2005 16:17:58.814 client 192.168.0.4#49160: UDP request
> 15-Dec-2005 16:17:58.820 client 192.168.0.4#49160: using view
> '_default'
> 15-Dec-2005 16:17:58.820 client 192.168.0.4#49160: request is not
> signed
> 15-Dec-2005 16:17:58.820 client 192.168.0.4#49160: recursion available
> 15-Dec-2005 16:17:58.820 client 192.168.0.4#49160: query
> 15-Dec-2005 16:17:58.820 client 192.168.0.4#49160: ns_client_attach:
> ref = 1
> 15-Dec-2005 16:17:58.826 client 192.168.0.4#49160: query
> '2.0.168.192.in-addr.arpa/PTR/IN' approved
> 15-Dec-2005 16:17:58.847 client 192.168.0.4#49160: send
> 15-Dec-2005 16:17:58.853 client 192.168.0.4#49160: sendto
> 15-Dec-2005 16:17:58.853 socket.c:1118: unexpected error:
> 15-Dec-2005 16:17:58.855 internal_send: 192.168.0.4#49160: Invalid
> argument
> 15-Dec-2005 16:17:58.855 client 192.168.0.4#49160: senddone
> 15-Dec-2005 16:17:58.855 client 192.168.0.4#49160: error sending
> response: invalid file
> 15-Dec-2005 16:17:58.855 client 192.168.0.4#49160: next
> 15-Dec-2005 16:17:58.855 client 192.168.0.4#49160: ns_client_detach:
> ref = 0
> 15-Dec-2005 16:17:58.855 client 192.168.0.4#49160: endrequest
>
> I'm assuming that the #49160 shouldn't be appended to the IP of the
> client making the request and that that's my problem?
>
> Anyone have any clues as to where in the code the #49160 should be
> stripped off?
>
> Many thanks in advance,
>
> --
> Cheers,
>
> Paul.
>
>
>



More information about the bind-users mailing list