Hi,
We have:
- DNS servers running in Azure. Scavenging is enabled with default settings 7/7
- AVD workstations running Windows 11 in Azure. These machines pick up their IP address via DHCP from Azure
According to the docs Windows is supposed to re-register DNS every 24 hours, however we are finding that DNS entries are not being refreshed, and scavenging eventually removes them from DNS.
If we run ipconfig /registerdns
on the machine then it re-registers correctly and prevents any issue for another few weeks.
The fault appears to be intermittent, suggesting that some machines do refresh correctly.
Has anyone else seen this? Any suggestions? ipconfig output below.
Thanks,
Simon.
C:\>ipconfig /all
Windows IP Configuration
Host Name . . . . . . . . . . . . : MYSERVERNAME
Primary Dns Suffix . . . . . . . : mydomain.local
Node Type . . . . . . . . . . . . : Hybrid
IP Routing Enabled. . . . . . . . : No
WINS Proxy Enabled. . . . . . . . : No
DNS Suffix Search List. . . . . . : mydomain.local
reddog.microsoft.com
Ethernet adapter Ethernet 2:
Connection-specific DNS Suffix . : reddog.microsoft.com
Description . . . . . . . . . . . : Microsoft Hyper-V Network Adapter #2
Physical Address. . . . . . . . . : 00-0D-3A-D1-57-4F
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
IPv4 Address. . . . . . . . . . . : 10.146.8.6(Preferred)
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Lease Obtained. . . . . . . . . . : Wednesday, 7 August 2024 4:20:28 PM
Lease Expires . . . . . . . . . . : Saturday, 13 September 2160 11:42:55 PM
Default Gateway . . . . . . . . . : 10.146.8.1
DHCP Server . . . . . . . . . . . : 168.63.129.16
DNS Servers . . . . . . . . . . . : 10.144.8.40
10.160.8.40
NetBIOS over Tcpip. . . . . . . . : Enabled
PS C:\> Get-DnsServerResourceRecord -ZoneName mydomain.local -ComputerName dnservername -Name MYSERVERNAME | fl
DistinguishedName : DC=MYSERVERNAME,DC=mydomain.local,cn=MicrosoftDNS,DC=DomainDnsZones,DC=mydomain,DC=local
HostName : MYSERVERNAME
RecordType : A
Type : 1
RecordClass : IN
TimeToLive : 00:20:00
Timestamp : 24/07/2024 12:00:00 AM
RecordData : 10.146.8.6