Information Technology Reference
In-Depth Information
Creating ptR resource records
The PTR resource record is a pointer record that does a reverse lookup to point to a host
name. DNS clients query the DNS server with an IP address. If it matches a PTR record,
the DNS server returns the host name for that IP address. You can create a PTR record
with the DNS Manager console or by using the Add-DnsServerResourceRecordPTR or
Add-DnsServerResourceRecord cmdlet.
Reverse lookup zones are not required for most Windows networks, but when they are
used, the PTR record is automatically generated when the IP address is handed out to the
DHCP client or when the A or AAAA record is manually created. This is the preferred method,
but you can create a static PTR record by manually creating it. The problem with static
records is that they need to be manually maintained if there are changes in the network.
However, if you don't initially create a reverse lookup zone and then decide that you need
one, you might well have servers with static addresses that need manually created records.
To create PTR record with the DNS Manager console, follow these steps:
Open the DNS Manager console.
1.
Expand the server on which you want to create the record and then expand Reverse
Lookup Zones. For an IPv4 address in the 192.168.10/24 network, this is the 10.168.192.
in-addr.arpa zone; for an IPv6 address in the 2001:db8::/64 network, the zone is the
0.0.0.0.0.0.0.0.8.b.d.0.1.0.0.2.ip6.arpa zone.
2.
Right-click the zone in which you want to create the record and select New Pointer
(PTR).
3.
4. Enter the IP address in the Host IP Address box. (You don't need to enter the FQDN,
just the IP address.)
Enter the FQDN in the Host Name box, as shown in Figure 3-19.
5.
6. Click OK to create the record.
To create the PTR record with Windows PowerShell, use the Add-DnsServerResourceRecordPtr
cmdlet. For example:
Add-DnsServerResourceRecordPtr -ZoneName 10.168.192.in-addr.arpa `
-Name "14" `
-PtrDomainName "trey-srv-14.treyresearch.net"
 
Search WWH ::




Custom Search