Skip to Content
Mastering Active Directory - Second Edition
book

Mastering Active Directory - Second Edition

by Dishan Francis
August 2019
Intermediate to advanced
786 pages
20h 22m
English
Packt Publishing
Content preview from Mastering Active Directory - Second Edition

A and AAAA records

Host records are used to map a fully qualified domain name (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 are changed, the system will automatically update its DNS record, too.

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" ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Mastering Active Directory - Third Edition

Mastering Active Directory - Third Edition

Dishan Francis
Active Directory, 5th Edition

Active Directory, 5th Edition

Brian Desmond, Joe Richards, Robbie Allen, Alistair G. Lowe-Norris

Publisher Resources

ISBN: 9781789800203Supplemental Content