DNS Entries ending with an dot (Dangling DNS Records)
WoitiX opened this issue · comments
Most of our DNS entries are ending with a dot, so they don't find a match in dangling dns records
I have changed the following and then they will match, maybe there is an better way to do this
Get-DanglingDnsRecords.ps1 first line is line 502
$key = $item.Fqdn.trim(" ").tolower()
if($key.EndsWith('.')) {
$key = $key -replace ".$"
}
@Arun-Mudiraj is this an exception that needs to be handled?
Will update script to trim '.' at the end.
Merged. Closing issue