Re: DNS Reverse lookup zone

This is a discussion on Re: DNS Reverse lookup zone within the Bind Users forums, part of the DNS and Related Forums category; Barry Margolin <barry.margolin@level3.com> a écrit: [snip] >>and then the zone file with >&...


Go Back   Usenet Forums > DNS and Related Forums > Bind Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 08-29-2003
Andrew Lee
 
Posts: n/a
Default Re: DNS Reverse lookup zone

Barry Margolin <barry.margolin@level3.com> a écrit:

[snip]

>>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.


great. Would they then have to add A records for my nameserver?
I.e. how does the rest of the world find my records - this is what
confuses me, if the ISP points an A record at my nameserver, then what
happens when people try to resolve stuff that isn't on my name server?
Do I need to add a forwarder in the options bit?
As you can probably tell, I'm very new to this and am struggling to get
my head around it properly.

>>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.


Sorry, I'm not sure what you mean by this - I have a 127.0.0.zone zone file
with this in.

$TTL 1W
@ IN SOA ns1.example.com. hostmaster.example.com.
(
1 ; serial (d. adams)
8H ; refresh
2H ; retry
4W ; expiry
1D ) ; minimum

IN NS ns1.example.com.
1 IN PTR localhost.

and in named.conf i have

zone "0.0.127.in-addr.arpa" {
type master;
file "127.0.0.zone";
};

Is this what you meant?

thanks

--
Andrew Lee | gladius@gladius.f9.org.uk \PGP:DC84 FD28 DA8A E38A A9DD|
AVIEN Founding Member |http://avien.org \ID:18A9 AFAD 5422 43F1 4C81|
// It is not certain that everything is uncertain -- Blaise Pascal
// Opinions expressed are my personal views, not those of my employer

Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 07:43 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0