Reverse DNS
Reverse DNS maps an IP address to a hostname through a PTR record. In DigiCert® DNS, automatic PTR creation is enabled by default when you create an A or AAAA record. You can select the reverse zone for the PTR record or opt out of its creation.
What a PTR record is
A PTR (Pointer) record identifies a hostname associated with an IP address. It provides the reverse lookup for an address, while an A or AAAA record maps a hostname to an IP address.
For example:
Lookup | Record type | Result |
|---|---|---|
Forward lookup for | A |
|
Reverse lookup for | PTR |
|
The records belong to separate zones. The A or AAAA record belongs to the forward zone, such as example.com. The PTR record belongs to a reverse zone associated with the IP address range.
See A records and AAAA records for forward-record configuration.
Reverse zones
Reverse zones contain the records used to resolve IP addresses to hostnames.
Address type | Forward record type | Reverse DNS namespace |
|---|---|---|
IPv4 | A |
|
IPv6 | AAAA |
|
IPv4 and IPv6 use separate reverse DNS namespaces.
For IPv4, the address components appear in reverse order in the complete PTR record name. For example, the reverse lookup name for 192.0.2.20 is 20.2.0.192.in-addr.arpa..
The following IPv4 example shows how a PTR record fits within a reverse zone:
Component | Example |
|---|---|
IPv4 address |
|
Reverse zone |
|
Record name within that zone |
|
Complete PTR record name |
|
Target hostname |
|
The appropriate reverse zone depends on how reverse DNS authority is delegated for your address range.
Explore reverse zones and PTR records on the Records page
To view reverse zones, go to DNS > Zones and select Primary zones. Reverse zones appear alongside forward zones, identified by their reverse DNS names.
Open a reverse zone and select the Records tab. In Grouped view, expand PTR (Pointer).
The table displays the following information:
Column | Description |
|---|---|
Record name | The complete reverse DNS name |
Target hostname | The hostname returned by the PTR record |
TTL | How long the record can be cached, in seconds |
Use Search to locate a record or switch to Table view to review records in a table. Each row provides an actions menu for managing the record.
See Primary DNS zones for general zone management guidance.
Automatic PTR creation
When you create an A or AAAA record, Configure reverse PTR is selected by default. Leave it selected to create a corresponding PTR record in the reverse zone you choose.
To create the forward and reverse records:
Open the forward zone’s Records tab.
Select Add record.
Set Record type to A (Address - IPv4) or AAAA (Address - IPv6).
Enter the Name, TTL, and destination IP address.
Leave Configure reverse PTR selected.
Select Save and close or Save and add another.
If saving displays a duplicate record banner, follow its instruction to edit the existing entry. Editing that entry will not create a missing PTR record.
In the Configure reverse PTR dialog, select the Reverse zone, or select Create reverse zone.
Select Confirm.
The PTR record points to the forward record’s complete hostname. For example, a record named www in example.com produces a reverse mapping to www.example.com.
To create only the A or AAAA record, clear Configure reverse PTR before saving.
Notice
Automatic PTR creation applies only to the A and AAAA creation forms. Editing an existing record or importing records does not trigger automatic PTR creation.
Update or delete a PTR record
After changing or deleting an A or AAAA record, manually review and update or delete its associated PTR record. DigiCert® DNS does not automatically synchronize or remove PTR records when forward records change.
To update a PTR record:
Open the reverse zone and select the Records tab.
Locate the record under PTR (Pointer).
Open its actions menu and select Edit.
Update the TTL or Target hostname.
Select Update.
The form contains these fields:
Field | Description |
|---|---|
Record type | PTR (Pointer); read-only when editing |
Name | The record’s name within the reverse zone; read-only when editing |
TTL | The cache duration, in seconds |
Target hostname | The hostname returned by the reverse lookup |
The reverse zone suffix appears beneath Name. Select Add another to include an additional target hostname.
To delete a PTR entry, open its actions menu, select Delete, and confirm the deletion.
Review both sides of a mapping whenever you make changes:
Forward-record change | PTR record action |
|---|---|
Change an IP address | Review the PTR for the previous address and configure the reverse mapping for the new address |
Remove an IP address | Review and remove its PTR mapping if it is no longer needed |
Delete an A or AAAA record | Review and remove any associated PTR mappings that are no longer needed |
The TTL controls how long a PTR answer can be cached. Previously cached answers can remain available until their TTL expires, even after a record is updated or deleted. Lowering the TTL does not shorten the lifetime of answers already cached using the previous value.
Select or create a reverse zone
The Reverse zone selector lets you choose an existing reverse zone or select Create reverse zone.
Choose the zone that corresponds to the address range and reverse delegation you manage. If multiple zones are available, select the one authoritative for the address.
The record name within the zone depends on the selected zone. For example:
Reverse zone | Record name within the zone | Complete PTR record name |
|---|---|---|
|
|
|
|
|
|
When a reverse zone is created through this workflow, DigiCert® DNS displays a Reverse zone created confirmation. The zone appears on the Primary zones page, where you can review its PTR records and configuration.
Creating a reverse zone does not complete its delegation. Review reverse delegation separately before expecting public reverse lookups to use the zone.
Reverse DNS delegation
Reverse DNS authority follows the IP address allocation. The organization that provides or manages your IP address range controls its reverse delegation. This may be your hosting provider, ISP, or network administrator.
Owning a forward domain such as example.com does not automatically give you control over reverse DNS for the IP addresses used by that domain.
If DigiCert® DNS will host the reverse zone, arrange for the responsible provider or administrator to delegate it to the assigned nameservers. If the provider manages PTR records directly, request the reverse mapping through that provider instead.
Open the reverse zone’s Nameservers tab to review its assigned nameservers. See Primary nameservers and delegation for nameserver guidance. Reverse delegation must be arranged through the organization responsible for the IP address range.
Verify reverse DNS
After configuring the PTR record and reverse delegation, check that:
The PTR record exists in the intended reverse zone
Its complete record name corresponds to the IP address
Its target is the intended hostname
Reverse delegation directs queries to the intended nameservers
A reverse lookup returns the expected hostname
For a matching forward and reverse configuration, also check that the target hostname’s A or AAAA record includes the original IP address.
Use the reverse zone’s Health tab to review the available zone health checks. See DNS zone health.
A successful forward lookup alone does not verify the reverse mapping. Check both directions after creating or changing the records.