reverse dns problem (again sorry!)
Kevin Darcy
kcd at daimlerchrysler.com
Mon Aug 21 21:51:25 UTC 2000
Paul Hill wrote:
> Hi
>
> This is driving me mad.
>
> I have a linux server with a dns server that works fine. The nslookup
> works fine for all the reversed IP numbers. However the client I am
> using (windows 98) uses a application that I have written that uses a
> function called gethostbyname. If I pass this function the actual name
> of the server then it is fine (i.e. mcpc.priv.ate) However If I pass it
> the IP address 192.168.1.1 it hangs for good while before eventually
> connecting and proceeding.
>
> I've run "named" in debug mode and I can see the connection request
> 192.168.1.1 coming in but not matching. This is rediculout as I can
> match it on the server with the nsloopup function. Is this a reverse
> problem. Oh by the way the network is totally isolated (just client and
> server) so there is no deferment.
gethostbyname() maps names to IP addresses. To map an IP address to a name,
use gethostbyaddr().
- Kevin
More information about the bind-users
mailing list