Background: We updated a few name server records and removed references to AP ones. And this script simply queries your DNS and ensures that the removed one has been propagated.
domains.txt is self-explanatory - has all the (removed) domains listed, one per line.
while ($true){ foreach ($dns in get-content .\domains.txt)
{
if (Resolve-DnsName -type NS $dns | findstr /i "dns.ap") { } else { Write-host "$dns no AP" }
}
start-sleep -s 120
}
0 Comments:
Post a Comment
<< Home