Re: Help with Bind config syntax for reverse DNS on subnet



At 03:44 PM 5/31/2007, Rob wrote:
Hi, was hoping someone could help me with the correct syntax in my named.conf for reverse DNS on a small subnet.

Say I have 10.0.0.0/27, such that actual addresses are 10.0.0.0 through 10.0.0.31 -- If I add a zone like:
zone "0.0.10.in-addr.arpa" {
type master;
file "master/0.0.10.in-addr.arpa"; };

...I can define addresses for my little block, but reverse lookups on the rest of 10.0.0.x seem to fail. What's the correct way to configure Bind for this?

You are missing any way to allow slaves to read the maps, so you might do something like:
zone "0.0.10.in-addr.arpa" {
type master;
file "master/0.0.10.in-addr.arpa";
allow-transfer ( 10.0.0.2; and any other nameserver IP's; );
};

Then in your file:
0.0.10.in-addr.arpa list your addresses even if some are DHCP.
1 IN PTR router.domain.name.
2 IN PTR ns.domain.name.
3 IN PTR DHCP-10-0-0-3.domain.name.

etc . . .

-Derek

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.

_______________________________________________
freebsd-questions@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: bind has quit working
    ... another private network it's db.192.168.1 or whatever. ... the way down to the subnet you're claiming reverse dns authority for so ... see when you last made zone changes. ... IN PTR server.elkins. ...
    (Debian-User)
  • Re: Cannot send to Hotmail or MSN
    ... I can presume then that that your advice is based on the PTR ... As far as email sent to us...our ISP ... Reverse DNS entries for MX records ERROR: None of your mail serverseem ... your smatrhost it to another server. ...
    (microsoft.public.exchange.admin)
  • Re: Spam Folder Problems
    ... If you read the findings when doing Reverse PTR Lookup on 72.85.245.162 you have more than one PTR listed. ... This could be a good reason why mail.zenrx.org is failing when trying to send to ISP's that perform reverse DNS lookup since mail.trumptowels.com is listed first. ... "You have more than one PTR record for 72.85.245.162. ... keeps going to outlook/hotmail.com's junk mail folder. ...
    (microsoft.public.exchange.setup)
  • Re: Reverse DNS/PTR
    ... What is PTR and what is that for? ... What are the differences between forward DNS and reverse DNS? ... pretending to be another reliable mail server; ... Hope my explanation was clear enough. ...
    (microsoft.public.windows.server.dns)
  • Re: Reverse DNS query
    ... So if you send emails to me, and your mailserver conencts to my ... for a PTR on 212.123.123.123. ... Reverse DNS has nothing whatsover to do with whoever hosts your MX ... Exchange box is on on a public IP address assigned to you by ISP1, ...
    (microsoft.public.windows.server.sbs)