Skip to content
INSIGHTS & GUIDES · NETCLOUD24

How to Create a Reverse DNS Lookup Zone and PTR Records

Read the article ↓
Editorial illustration: How to Create a Reverse DNS Lookup Zone and PTR Records

How to Create a Reverse DNS Lookup Zone and PTR Records

Applies to: Windows Server 2019, 2022 and 2025.

Reverse zones map IP addresses to names. They improve diagnostics and are required by some security, logging and mail workflows.

DNS and DHCP changes can interrupt authentication and remote access. Preserve console access, export current settings and test from representative clients. Managed Windows VPS services are available at managed Windows VPS hosting.

Prerequisites

  • Confirm ownership of the subnet.
  • Choose IPv4 network ID and prefix.
  • Coordinate public reverse DNS with the address provider.
  • Know the authoritative forward name.

Procedure

Step 1: List zones

Check for an existing reverse namespace.

Get-DnsServerZone | Where IsReverseLookupZone

Step 2: Create the IPv4 reverse zone

Use an AD-integrated /24 example.

Add-DnsServerPrimaryZone -NetworkId '192.0.2.0/24' -ReplicationScope Domain -DynamicUpdate Secure

Step 3: Create a PTR record

The RecordName is the host portion for this zone.

Add-DnsServerResourceRecordPtr -ZoneName '2.0.192.in-addr.arpa' -Name '30' -PtrDomainName 'app01.apps.corp.example'

Step 4: Query the result

Use the address as the lookup target.

Resolve-DnsName 192.0.2.30

Step 5: Document responsibility

Record whether the zone is private or delegated publicly.

Verification

Forward and reverse results should agree for the managed host.

Resolve-DnsName app01.apps.corp.example
Resolve-DnsName 192.0.2.30

Rollback

Remove the PTR record, then remove the zone only if it was newly created and has no other records or delegations.

Operational notes

Private RFC1918 reverse zones remain internal. Public-address PTR changes are usually controlled by the hosting or connectivity provider.

Official references

For a hosted environment with setup and onboarding, explore our managed Windows VPS plans.


Was this answer helpful?

« Back
Contact

Write to us

Do you have questions about our services or need a quote? Write to us and we will respond as soon as possible.

Contact form

Fields marked * are required.