reverse lookup for single address
Willy LR
w.leroy at optline.fr
Thu Sep 9 14:37:24 UTC 2004
Hi
Seems like you have no PTR record for 12.34.56.80
Just add it to your reverse zone file
You can also automatically generate PTR records :
$GENERATE 1-80 $.56.34.12.in-addr-arpa PTR host$.yourdomain.org
Hope that helps
Regards
> De=A0: Tony Tung <tonytung at csua.berkeley.edu>
> Soci=E9t=E9=A0: ...
> Groupes de discussion=A0: comp.protocols.dns.bind
> Date=A0: Wed, 8 Sep 2004 19:17:32 +0000 (UTC)
> =C0=A0: comp-protocols-dns-bind at isc.org
> Objet=A0: reverse lookup for single address
>=20
> Hi,
>=20
> I'm trying to get my name server on my server to answer reverse lookup.
> That is, my server lives at 12.34.56.78 (address faked), but that is the
> only address I have. I want to be able to do this from a remote server:
>=20
> nslookup 12.34.56.78 12.34.56.78
>=20
> and get a correct resolution. I've managed to do that much. However, I
> can no longer reverse-resolve other addresses in the same subnet from my
> own server, i.e., I cannot reverse-map 12.34.56.80.
>=20
> Can someone give me some tips? This is what I have in my named.conf:
>=20
> zone "56.34.12.in-addr.arpa" IN {
> type slave;
> file "master/pub.rev";
> masters {
> 64.81.79.2;
> 216.231.41.2;
> };
> };
>=20
> and in pub.rev:
>=20
> $ORIGIN 56.34.12.in-addr.arpa.
> $TTL 3600
> @ IN SOA
> myserver.org. root.myserver.org. (
> 20030406 ; Serial
> 3600 ; Refresh
> 900 ; Retry
> 3600000 ; Expire
> 3600 ) ; Minimum
> IN NS myserver.org.
> 78 IN PTR myserver.org.
>=20
>=20
> Thanks!
> Tony
>=20
>=20
More information about the bind-users
mailing list