From: "Scott Nichol" <snichol@computer.org>
Subject: Re: nslookup & gethostbyaddr
Date: 1999/07/14 [thread overview]
Message-ID: <xr5j3.598$LQ1.1047@news.rdc1.pa.home.com> (raw)
In-Reply-To: KD2j3.483$LQ1.1018@news.rdc1.pa.home.com
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.
prev parent reply other threads:[~1999-07-14 4:00 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-07-14 4:00 nslookup & gethostbyaddr Scott Nichol
1999-07-14 4:00 ` Scott Nichol [this message]
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox