DnsCmd /ZoneAdd - Reverse Lookup Zone

Hi,
I am trying to add a reverse lookup zone with dnscmd with below command line. The zone is added but not in reverse lookup zones, its added in the forward lookup zones.

C:\>dnscmd ns1 /zoneadd 213.88.225.176-28 /primary /file 176-28.225.88.213.in-addr.arpa.dns /load
DNS Server ns1 created zone 213.88.225.176-28:
Command completed successfully.
dns.png
cynkanAsked:
Who is Participating?
 
oBdAConnect With a Mentor Commented:
That's because "213.88.225.176-28" is not the FQDN of a reverse lookup zone. The Microsoft DNS MMC displays it like that, but the dnscmd syntax requires the  FQDN. So try
dnscmd.exe ns1 /zoneadd 176-28.225.88.213.in-addr.arpa /primary /file 176-28.225.88.213.in-addr.arpa.dns /load
0
 
SandyCommented:
in-addr.arpa is necessary to be recognized as Reverse lookup zone.
0
 
Venugopal NCommented:
The reverse lookup zone address need to be in the format of Network Id.in.addr.arpa.

For example  forward lookup zone is 172.16.11/24 (that is, 172.16.11.0 with subnet mask 255.255.255.0), then the reverse lookup zone usually is named 11.16.172.in-addr.arpa.

Hence check the zonename and the file name provided with the dnscmd command.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.