Adding forward and reverse DNS records for your virtual appliances (VAs) helps identify them in your network topology, firewall logs, and security appliance logs.
Create the records appropriate for the VA’s deployment:
-
IPv4-only: Create an A record and a corresponding IPv4 PTR record.
-
IPv6-only: Create an AAAA record and a corresponding IPv6 PTR record.
-
Dual-stack: Create A and AAAA records, with corresponding PTR records for both addresses. Create forward records in the domain’s DNS zone.
Create IPv4 PTR records in the applicable `in-addr.arpa` reverse lookup zone and IPv6 PTR records in the applicable ip6.arpa reverse lookup zone. Contact your DNS administrator if the required reverse lookup zone does not exist.
After creating the records, verify forward and reverse resolution as described below. Replace the example hostname and IP addresses with your VA’s configured values.
After adding A and/or PTR records, verify the records:
Verify A Record
For a VA with an IPv4 address, query its hostname for an A record. From a command prompt, enter:
nslookup <VA HOSTNAME>
You should see the record in the last line of the result. The response should return the VA’s configured IPv4 address, such as `192.0.2.10`.
nslookup va01.corp.domain.com
Server: 192.168.1.1
Address: 192.168.1.1#53
Non-authoritative answer:
Name: va01.corp.domain.com
Address: 192.168.1.9
Verify AAA Record
For a VA with an IPv6 address, query its hostname for an AAAA record:
nslookup -type=AAAA va.example.com
The response should return the VA’s configured IPv6 address, such as `2001:db8::195`. The returned address may use a different, equivalent IPv6 notation.
Verify PTR Record
Query the VA’s IP address to verify that reverse resolution returns its hostname. From a command prompt, enter:
nslookup <VA IP ADDRESS>
For IPv4, execute nslookup 192.0.2.10; for IPv6, execute nslookup 2001:db8::195. Each applicable lookup should return va.example.com. For a dual-stack VA, verify both addresses separately. Run these commands from a system configured to use a DNS server that can resolve the zones containing your VA’s records.
You should see the record in the last line of the result.
nslookup 192.168.1.10
Server:192.168.1.1
Address:192.168.1.1#53
Non-authoritative answer:
9.168.192.in-addr.arpaname = \[va01.corp.domain.com\]