Update the Windows DNS server root [hints] server addresses directly from the IANA named.root file. The named.root file is retrieved at runtime.
Warning
The DNS server MUST have HTTPS access to www.internic.net to work!
This hasn't been turned into a module yet, so literal paths must be used to call the script.
.\Update-DnsServerIanaRootServer.ps1This mode will fill in any missing IPv4 or IPv6 root hint records.
.\Update-DnsServerIanaRootServer.ps1 -IPv4OnlyThis mode will only update missing IPv4 root hint records.
.\Update-DnsServerIanaRootServer.ps1 -IPv6OnlyThis mode will only update missing IPv6 root hint records.
.\Update-DnsServerIanaRootServer.ps1 -ForceIanaThis mode will remove any existing root-servers and replace it with the IANA root servers. This mode can be used to reset the root hints on Windows DNS servers to match the current IANA named.root file.