DNS Entries ending with an dot (Dangling DNS Records)
WoitiX opened this issue · 4 comments
WoitiX commented
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 ".$"
}
tobystic commented
@Arun-Mudiraj is this an exception that needs to be handled?
Arun-Mudiraj commented
Will update script to trim '.' at the end.
Arun-Mudiraj commented
tobystic commented
Merged. Closing issue