Dns registration in windows
Jump to navigation
Jump to search
$dnsRegistrationInterval = Get-ItemProperty -Path 'HKLM:\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters' -Name 'RegistrationRefreshInterval' Write-Host "Current DNS Registration Interval: $($dnsRegistrationInterval.RegistrationRefreshInterval) seconds"
Set to 1 hour instead of 1 day default
$newInterval = 3600 Set-ItemProperty -Path 'HKLM:\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters' -Name 'RegistrationRefreshInterval' -Value $newInterval Write-Host "DNS Registration Interval updated to $newInterval seconds"