Add multiple DNS servers as name servers to multiple DNS zones all in once. So this is essentially adding NS resource records to a zone, but doing it for multiple zones all at once. So, here’s a quick one-liner that does the trick, obviously substitute in your DNS server and name server FQDNs in the correct places. If it fails for any reason it will continue on, but report the zone it failed on.
Get-DnsServerZone -ComputerName dnsserver.vmwareenterprise.com | where {$_.zonetype -eq “primary” -or $_.zonetype -eq “secondary”} | ForEach-Object {try {Add-DnsServerResourceRecord -ZoneName $_.zonename -ns -ComputerName dnsserver.domain.com -name $_.zonename -NameServer newdnsserver.vmeareenterprise.com -ea:stop} catch {“$_”}}
z3qpzl
cmy2gq
4ws4vl
l7ybde
phyg6s
This really answered my downside, thank you!
p47kcb
I genuinely enjoy looking at on this website, it holds wonderful blog posts. “Never fight an inanimate object.” by P. J. O’Rourke.
5zougj
It is best to take part in a contest for probably the greatest blogs on the web. I will recommend this site!
nr6qau
iarwud
pbij7v
izufae
256wgs
I like this post, enjoyed this one regards for putting up. “He removes the greatest ornament of friendship, who takes away from it respect.” by Cicero.
cyspqr
xm12no
7w6ov5