I have a few Azure VMs and have stale DNS record. How can I update them? Preparation for DNS Scavenging
I am trying to enable DNS Scavenging on our on-prem DNS, but noticed a few of our Azure VMs with stale record dating back to 2019, 2020, 2022. We are thinking this is happening because wireserve DHCP lease time is over 100 year results in the stale records. When I try to run ipconfig/registerdns I get the below error. However, if I delete the stale DNS record and run ipconfig/registerdns. The record will be updated with no issues. Is there a better way to resolve this issue so I can enable DNS Scavenging while making sure the VMs record will not be deleted for being stale?
Thanks.
The system failed to register host (A or AAAA) resource records (RRs) for network adapter with settings: Adapter Name : XXXXXXXXXXXXX Host Name : JB2 Primary Domain Suffix : XXXXXXXXX.com DNS server list : XXXXXX Sent update to server : XXXXXXXXX IP Address(es) : XXXXXXX The reason the system could not register these RRs was because the DNS server contacted refused the update request. The reasons for this might be (a) you are not allowed to update the specified DNS domain name, or (b) because the DNS server authoritative for this name does not support the DNS dynamic update protocol. To register the DNS host (A or AAAA) resource records using the specific DNS domain name and IP addresses for this adapter, contact your DNS server or network systems administrator.