Windows Server 2012 Hyper-V Virtual Switch DNS Problem on DC
Posted on 2014-09-02
Okay i have a really annoying problem.
Basically we have the following:
A HP Proliant ML350e with 2 physical nics.
The server is running Windows Server 2012. Its roles are DC, DNS, DHCP, FILE SERVER, HYPER-V.
Within Hyper-V we have a virtual machine acting as a RDS Server. We're using one nic from the host for the DC and one for the RDS vm. So within Hyper-v the vm has lets say 172.16.10.11 and if i look in the DC the virtual switch has 172.16.10.49. The Physical NIC of the DC has 172.16.10.10
The problem arises that the DC registers the Hyper-V switch in DNS so when i nslookup DC.CONTOSO.COM i get back 172.16.10.49, instead of what i should get 172.16.10.10. I can go into DNS and delete the entries made for DC pointing to 172.16.10.49 and after a ipconfig /flushdns on RDS i can nslookup DC and get the correct respons. The problem is that the .49 adress returns to dns. What is the fix for this and why am i such an idiot that can't figure this out? It would seem to be a problem with Hyper-V no?
Any pointers would greatly help me out as im going nuts here.