[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2052
  • Last Modified:

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
0
cynkan
Asked:
cynkan
1 Solution
 
oBdACommented:
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

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now