Importing PTR records to existing DNS Server

N

NETLV

I have a large network with over 400 subnets. DNS forward zone is fully
populated with all devices that our Networking Services group needs
access to. When the domain and DNS was created, the creator failed to
start a reverse lookup zone. I was wondering how to create PTR records
from existing records in the forward lookup zone.

My WAN consists of several 10.x.x.x subnets. I created a 10.x.x.x
reverse lookup zone. I don't want to have to recreate thousands of
records.

Is there any way to export my forward lookup zone and then import to
the reverse lookup zone in order to have the records automatically
created?
 
A

Ace Fekay [MVP]

NETLV said:
I have a large network with over 400 subnets. DNS forward zone is
fully populated with all devices that our Networking Services group
needs access to. When the domain and DNS was created, the creator
failed to start a reverse lookup zone. I was wondering how to create
PTR records from existing records in the forward lookup zone.

My WAN consists of several 10.x.x.x subnets. I created a 10.x.x.x
reverse lookup zone. I don't want to have to recreate thousands of
records.

Is there any way to export my forward lookup zone and then import to
the reverse lookup zone in order to have the records automatically
created?

I have no idea what server version you want to transfer from and to, but if
it's Win2k/Win2k3 to Win2k/Win2k, you can use this script:

Dean Wells' DNSDump:
http://www.reskit.net/DNS/dnsdump.cm_

Otherwise, you can try DNSCMD. If BIND to Windows, you may have to develop a
script. For free scripts, check:
http://cwashington.netreach.net

--
Regards,
Ace

Please direct all replies ONLY to the Microsoft public newsgroups
so all can benefit.

This posting is provided "AS-IS" with no warranties or guarantees
and confers no rights.

Ace Fekay, MCSE 2003 & 2000, MCSA 2003 & 2000, MCSE+I, MCT, MVP
Microsoft Windows MVP - Windows Server - Directory Services

Paramount: What's up with taking Enterprise off the air??
Infinite Diversities in Infinite Combinations.
=================================
 
N

NETLV

This is a Win2k domain and servers. I will take a look at the links
provided and post the results.

Thank you,

Adam Roberts
 
N

NETLV

OK. I should have mentioned that this is not a AD intergrated DNS. We
have been importing our forware lookup zone via a text file. Can I
import ptr records via a text file?? I talked with someone who thinks
you can by putting PTR at the end of each record but was ensure if this
is correct. If anyone knows the correct format for this, I would
greatly appreciate it.

Thank you!!
 
A

Ace Fekay [MVP]

NETLV said:
OK. I should have mentioned that this is not a AD intergrated DNS. We
have been importing our forware lookup zone via a text file. Can I
import ptr records via a text file?? I talked with someone who thinks
you can by putting PTR at the end of each record but was ensure if
this is correct. If anyone knows the correct format for this, I would
greatly appreciate it.

Thank you!!

Adam,

The DNSDump cmd file will handle Primary or AD Integrated zones from
W2k/W2k3 to W2k/W2k3. Have you taken a close look at it or tested it? It
iwll do any zones, forward or reverse. There is no harm in testing it (it
will not make any changes), it will just export a copy into a file and you
can import it on the other server. If you don't like it, just delete what it
imported.

Ace
 
N

NETLV

The problem here is that there is no Reverse zone to export. All I have
is a forward zone. I need a way to generate the reverse zone other than
manually entering them in one by one. The two servers I have running
DNS have the same entries.
So, let me rephrase the orginall question.
Can I use the data in the forware lookup zone to generate data for a
reverse lookup zone?
 
A

Ace Fekay [MVP]

NETLV said:
The problem here is that there is no Reverse zone to export. All I
have is a forward zone. I need a way to generate the reverse zone
other than manually entering them in one by one. The two servers I
have running DNS have the same entries.
So, let me rephrase the orginall question.
Can I use the data in the forware lookup zone to generate data for a
reverse lookup zone?

Yes

But you have to create the zone first, whether programmatically (scripting
or using DNSCMD) or manually. Then as time goes by everything will
eventually register into the zone, as long as the reverse zone matches the
subnet the machines are on. You can also manually go into each forward
record one by one and tell it to update the reverse record, or use DNSCMD.

Since you have 400 subnets, that is a task to be done programmatically.
Eventually, as long as updates are set to allow (secure updates or not
secure updates), all machines (W2k or newer) will auto reg into their
respective zones.

Ace

Ace
 
N

NETLV

I've started an AD int zone along side my non AD int zone. The AD zone
started updating in the reverse zone but not the non AD zone. I created
one Reverse zone with 10.x.x.x. There are subfolders there for the
respective subnets down the entry. I also tried to update ptr record on
both zones and that did not work. Going to keep testing and checking
back for any thing else posted. Thank you for all the help so far.
 
A

Ace Fekay [MVP]

NETLV said:
I've started an AD int zone along side my non AD int zone. The AD zone
started updating in the reverse zone but not the non AD zone. I
created one Reverse zone with 10.x.x.x. There are subfolders there
for the respective subnets down the entry. I also tried to update ptr
record on both zones and that did not work. Going to keep testing and
checking back for any thing else posted. Thank you for all the help
so far.


Maybe DHCP is probably updating it in the reverse zone. Is it set to secure
only or all allowed?

Ace
 
N

NETLV

I'm not using the domain to server DHCP. I'm using Netware for that.
So, no dynamic updates would occur. It is set to update in the client
DNS settings however. Also, the domain name is the AD integrated zone
that I do not wish to use primarily. I need to use the non AD
integrated zone that is authority to our Networking Services dept. I
know it's not set up idealy but I've inherited the problem and I'm
trying to make it work.

NETLV
 
A

Ace Fekay [MVP]

NETLV said:
I'm not using the domain to server DHCP. I'm using Netware for that.
So, no dynamic updates would occur. It is set to update in the client
DNS settings however.

The clients should update into the reverse zone that matches their subnet.
Zone storage type should not have an effect on registration, but the fact
that registration is allowed in the zone's properties.
Also, the domain name is the AD integrated zone
that I do not wish to use primarily.
I need to use the non AD
integrated zone that is authority to our Networking Services dept. I
know it's not set up idealy but I've inherited the problem and I'm
trying to make it work.

Is the zone that you are referring to stored as AD Integrated the AD domain
name or some other name or is it the reverse zone? (You mention "domain
name" which is throwing me off now). If it is the name of your AD name, your
domain machines (DCs, clients, etc), need to use that zone. Keep in mind, AD
Integration is not much of a factor in what were talking about, unless you
are utilizing it's features, such as secure updates (only domain members
will be allowed to update) and the multi-master advantage.

If you are talking about the reverse zone, and your NOC controls the reverse
zone, then you can create a secondary of it on your server, allow updates,
and the client will send registration to the master by ferreting out the
MNAME in the secondary record.


Ace
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top