DNS Reverse lookup zone

Barry Margolin barry.margolin at level3.com
Thu Aug 28 18:03:51 UTC 2003


In article <bilege$1v00$1 at sf1.isc.org>,
Andrew Lee  <gladius at gladius.f9.co.uk> wrote:
>Barry Margolin <barry.margolin at level3.com> a écrit:
>
>> In article <biit19$2rtj$1 at sf1.isc.org>,
>> Andrew Lee  <gladius at gladius.f9.co.uk> wrote:
>>>Is it possible for us to provide the reverse lookup for our IP's but
>>>for our ISP to be responsible for the domain names?
>> 
>> Sure.  Just put the reverse domains on your nameservers.  There's no
>> built-in relationship between forward and reverse DNS.  They're all
>> just ordinary domains as far as the nameservers and resolvers are
>> concerned. 
>
>Ok, thanks - would I do that like 
>zone "x.x.x.in-addr.arpa" {
>    	type master;
>    	file "x.x.x";
>};
>
>and then the zone file with 
>$TTL 1D
>@  	IN    	SOA     ns1.example.com. hostmaster.example.com. (
>all the good stuff );
>NS  ns1.example.com.
>1    	PTR     	mail.example.com.
>2     PTR    	mail1.example.com.
>
>or would I need the PTR records to point to my ISP?

The PTR records should point to your hostnames -- they should just be the
opposite of the A records that they're maintaining.  So if they have:

mail.example.com.  IN A x.x.x.1
mail1.example.com. IN A x.x.x.2

then your records are correct.

>and then would I not have any other zone files in there at all?

There's usually a boilerplate zone for the 127.in-addr.arpa reverse domain.

-- 
Barry Margolin, barry.margolin at level3.com
Level(3), Woburn, MA
*** DON'T SEND TECHNICAL QUESTIONS DIRECTLY TO ME, post them to newsgroups.
Please DON'T copy followups to me -- I'll assume it wasn't posted to the group.


More information about the bind-users mailing list