DNS or networking issues in a Hyper-V environment using Windows Server 2012 R2
Posted on 2014-04-01
2 X Physical Servers
Each server is a Hyper-V Host using Windows Server 2012 R2
The first server has 2 Virtual machines, Running a Windows Server 2012 R2 as a domain controller and Active Directory, DNS & DHCP. The second a Windows Server 2012 R2 file server connected to the domain. I am using NIC teaming with 4 NICS. 1 NIC dedicated to the host and the other 3 in
a team. There is a virtual switch set to external as I need them to talk to the external network in order to get updates and sometimes access the internet.
The other server is the same sort of setup. A Windows Server 2012 R2 Hyper-V host with 1 virtual machine running Windows Server 2012 R2 joined to the domain and running Exchange 2013.
The problem I have is that I can get to some websites ok and others like microsoft.com come up as unable to display page. I use my DNS servers IP address 10.0.0.1 as the primary DNS server. If I put in my routers IP address of 10.0.0.138 as the secondary DNS server in the network connection I can get to the websites .
The other issues is the secondary Hyper-V host virtual machine running exchange. When installing it it could not talk to the domain controller, after I entered the routers IP address it could.
I realise this is a DNS issue, but I am not sure what is wrong, I am not sure if the virtual machines behind the virtual switch are able to get out correctly. I am not sure what is the best way to configure this type of setup with Hyper-V as I am new to this. I previously used VMWare and never had a issue like this, I thought I would give Hyper-V a go and I do like it but the network configuration is really confusing me. I realise there are 3 options, External, Internal and private but it seems to me that if I need to get out on the internet I need to use External. There is not much else to configure so I don't have much to go on. I also have the allow management operating system to share this network adapter enabled,
I would appreciate any recommendations, advice best practices on how to setup this environment correctly as it is for a client.