* nslookup & gethostbyaddr
@ 1999-07-14 4:00 Scott Nichol
1999-07-14 4:00 ` Scott Nichol
0 siblings, 1 reply; 2+ messages in thread
From: Scott Nichol @ 1999-07-14 4:00 UTC (permalink / raw)
I can do a reverse DNS lookup using nslookup, but with the same address, the
gethostbyaddr() function fails (h_errno == 3 -> NO_RECOVERY). The machines
at these addresses run NT and use DHCP. However, I am able to resolve
certain other NT machines using DHCP. The inability to resolve is giving me
a headache with tcp_wrappers.
Has anyone else come upon this?
--
Scott Nichol
e-mail: Remove nospam. from reply address.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: nslookup & gethostbyaddr
1999-07-14 4:00 nslookup & gethostbyaddr Scott Nichol
@ 1999-07-14 4:00 ` Scott Nichol
0 siblings, 0 replies; 2+ messages in thread
From: Scott Nichol @ 1999-07-14 4:00 UTC (permalink / raw)
Scott Nichol wrote in message ...
>I can do a reverse DNS lookup using nslookup, but with the same address,
the
>gethostbyaddr() function fails (h_errno == 3 -> NO_RECOVERY). The machines
>at these addresses run NT and use DHCP. However, I am able to resolve
>certain other NT machines using DHCP. The inability to resolve is giving
me
>a headache with tcp_wrappers.
And the problem is...
An underscore (_) character in the NT machine name. This is also used as
the host name, which is contrary to RFC 952. I figured this out by looking
at FreeBSD source for gethostbyname, in which I discovered it was validating
the name against "legal" characters.
--
Scott Nichol
e-mail: Remove nospam. from reply address.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~1999-07-14 4:00 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-07-14 4:00 nslookup & gethostbyaddr Scott Nichol
1999-07-14 4:00 ` Scott Nichol
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox