Solved

How to set reverse zone for to different IP subnets

Posted on 2011-03-09
4
493 Views
Last Modified: 2012-05-11
Hi to all,

We host two nameserver ns1.example.com and ns2.example.com.
ns1.example.com: 76.100.224.4
ns2.example.com: 76.100.225.5

have to create reverse zone on both servers. my both nameservers are identical, but in this case because reverse zone has this structure db.external.76.100.224, how can I add second one that is 255 for other server.

Setting for ns1.example.com

$TTL    900

@           IN SOA  example.com . hostmaster.example.com . (
                                201010   ; serial
                                1080      ; refresh (3 hours)
                                800        ; retry (15 minutes)
                                64800     ; expire (1 week)
                                10900      ; minimum change to 600
                                )

; server host definitions
        IN  NS          ns1.example.com .
        IN  NS          ns2.example.com .
4     IN  PTR         ns1.example.com .
136     IN  PTR         mail1.example.com .
137     IN  PTR         mail2.example.com .


The name.conf file is as following

      zone "224.100.76.in-addr.arpa" in {
          type master;
          allow-update { none; };
          file "zone/db.external. 76.100.224";
      //allow-query { internal; };
    };
0
Comment
Question by:uknet80
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 43

Accepted Solution

by:
ravenpl earned 500 total points
ID: 35105963
I'm not pretty sure what You mean by "how can I add second one that is 255 for other server."

Anyway, I understand You already have reverse zone configured for 76.100.224 network, do the same for 76.100.225, that is
- create zone/db.external.76.100.225 file with similar content(PTR records should be probably changed)
- create named.conf entry
zone "225.100.76.in-addr.arpa" in {
          type master;
          allow-update { none; };
          file "zone/db.external.76.100.225";
    };
- create named.conf slave entry on ns2.example.com like
zone "225.100.76.in-addr.arpa" in {
    type slave;
    file "slaves/db.external.76.100.225";
    masters { ip.of.ns1.example.com; };
};
0
 

Author Comment

by:uknet80
ID: 35120025
my question was if i have two different subnets 76.100.224 and 76.100.225. can i create a single zone file for both subnets. something like "/22421.100.76.in-addr.arp?
0
 
LVL 43

Assisted Solution

by:ravenpl
ravenpl earned 500 total points
ID: 35120131
two subnets equals to revDNS zones(domains). You can point two different zones/domains to same file, but then both domains will shares same SOA/NS/PTR/etc records - 76.100.224.1 and 76.100.225.1 would solve to very same name - is that what You want?
If You want distinct PTR names for 76.100.224.1 and 76.100.225.1 then You need two zone files.
0
 

Author Closing Comment

by:uknet80
ID: 35125536
thanks
0

Featured Post

NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Occasionally you run into the website or two that will not resolve properly using your own DNS servers.  Some people simply set up global forwarders for their DNS server.  I don’t recommend doing this because it can cause problems resolving addresse…
BIND is the most widely used Name Server. A Name Server is the one that translates a site name to it's IP address. There is a new bug in BIND (https://kb.isc.org/article/AA-01272), affecting all versions of BIND 9 from BIND 9.1.0 (inclusive) thro…
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…

690 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question