Have an odd one. Just built a 2016 server (VM) and done the usually changed the DHCP address to a static as configured on the NIC. However rather than updating the DNS record it keeps adding the wrong address in teh DNS entry.
I have checked the DHCP server and deleted the original lease.
I have deleted the DNS entry and and run an registerdns command from server.
I have gone into registry of server and cleaned out any old NIC entries.
Not sure what where to go next....
DHCPDNSVMwareWindows 10Azure
Last Comment
MJB2011
8/22/2022 - Mon
SiHodgy007
Delete the NIC from VMware and add a new one.
MJB2011
ASKER
Already done that.
SiHodgy007
Try
netsh interface ip set dns name="NIC NAME" static x.x.x.x
I have run into an odd issue in the past where a IP of a VM was still reachable after the VM was powered down and deleted. After working with VMware support the issue was with the host and was cleared with a reboot of the ESXi host. As a test have you tried to vMotion the VM to another host to see if the issue persist?
SiHodgy007
Not sure how changing the ip address with netsh updated the dns record.
MJB2011
ASKER
Not sure but that was the last thing I did and it worked.