A and AAAA records

Host records are used to map FQDN to an IP address. These records are used for IPv4 and AAAA records are used for IPv6. In AD and integrated DNS, every device will have an A or AAAA record when it is added to the domain. If the IP addresses get changed, the system will automatically update its DNS record too. The following commands can be used to add, remove, or list the A records:

To add an A record, run the following command:

Add-DnsServerResourceRecordA -Name "blog" -ZoneName "REBELADMIN.COM" -IPv4Address "192.168.0.200"

To remove an A record, run the following command:

Remove-DnsServerResourceRecord -ZoneName "REBELADMIN.COM" -RRType "A" -Name "blog"

To list A records in a zone, run the following command:

Get-DnsServerResourceRecord -ZoneName "REBELADMIN.COM" -RRType "A"
In the preceding commands, REBELADMIN.COM can be replaced with any zone name.
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.14.80.45