Information Technology Reference
In-Depth Information
You can also use the more general Add-DnsServerResourceRecord cmdlet to create the
record. For example:
Add-DnsServerResourceRecord -ZoneName "TreyResearch.net" `
-A `
-Name trey-srv-14 `
-IPv4Address 192.168.10.14 `
-CreatePtr
Both Windows PowerShell cmdlets create the exact same record and produce no output
unless you include the -PassThru parameter. If you do include that, you see this:
HostName RecordType Timestamp TimeToLive RecordData
-------- ---------- --------- ---------- ----------
trey-srv-14 A 0 01:00:00 192.168.10.14
Creating AAAA resource records
The AAAA resource record is a host address record that points to an IPv6 address. DNS clients
query the DNS server with a name, and the DNS server returns an IPv6 address if it matches
an AAAA record. You can create an AAAA record with either the DNS Manager console or by
using the Add-DnsServerResourceRecordAAAA or Add-DnsServerResourceRecord cmdlet.
In most DHCP-managed networks, the AAAA record is usually automatically generated
when the IPv6 address is handed out to the DHCP client. This is the preferred method for
DHCP clients whose address is subject to change, but you can create a static AAAA 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 there are servers with static IP
addresses (as opposed to DHCP reservations), you might need to manually create the records.
To create an AAAA 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 Forward
Lookup Zones.
2.
Right-click the DNS domain name in which you want to create the record and select
New Host (A Or AAAA).
3.
4. Enter the host name in the Name box. (You don't need to enter the FQDN, just the
host name. )
Enter the IPv6 address in the IP Address box, as shown in Figure 3-16, and select Create
Associated Pointer (PTR) Record if you're using reverse lookup zones.
5.
 
Search WWH ::




Custom Search