Solved

How to set reverse zone for to different IP subnets

Posted on 2011-03-09
4
476 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
  • 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

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

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

Suggested Solutions

One of the most often confused topics in the area DNS is the idea of GLUE records. Specifically, what they are, when they are needed, when they are provided, and how they are created. First, WHAT IS GLUE? To understand GLUE, you must first under…
I wrote this article to explain some important DNS concepts that should be known to avoid some typical configuration errors I often see in forums. I assume that what is described here is the typical behavior of Microsoft DNS client. I don't know …
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…

808 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