Link to home
Create AccountLog in
Avatar of Rob Leaver
Rob LeaverFlag for Canada

asked on

Domain Controller limited connection / No internet

I have a Hyper-V host that is hosting 2 virtual machines.

One of the virtual machines is the domain controller, running DHCP and DNS

DC Static = 192.168.89.10
Default gateway is 192.168.89.1

DNS forwarders have been set-up to 192.168.89.1

The host has internet - and all the computers connected to the network have internet access - however the domain controller can't resolve IP addresses but can ping the internal network.

I have the DNS set on the VM NIC to loop back and the DG to 89.1

Am i forgetting something or have i mis configured something?
Avatar of mbernoi
mbernoi
Flag of United States of America image

The DNS Forwarders have to be setup to point to authoritative DNS servers not the gateway IP.
Avatar of Rob Leaver

ASKER

Okay - first that isn't much help because I can't seem to get any connection to the internet to provide a authoritative dns server.
What happens if you run tracert 4.2.2.2?

How is the Virtual Switch configured for the DC?
Avatar of Knightsman
Knightsman

How do you have your network adapter setup in the virtual machine settings?  Is it in bridged mode?
The hose is joined to the domain

- Its using a virtual switch however it doesn't seem to  be communicating

When i do a tracert it just halts straight away at 192.168.89.10 which is the vm

It's an issue with the virtual switch, but i can't figure out what
Ipconfig /all from the host, the DC guest, and a guest that works please? Also, try configuring the DC to not use forwarders. Allow it to use root hints. And the NIC should only list the DC itself (or other DC's) for DNS Servers.
ASKER CERTIFIED SOLUTION
Avatar of DLeaver
DLeaver
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer
If we're seeing a problem with tracert to an IP address, it's not a DNS/forwarding issue.

Please describe how you have the virtual switch configured as that is likely the issue.
It was the external switch. After a couple hours of troubleshooting I found that the interface of the physical switch was mapped to the wrong external switch. There is 2 phyiscal NICS on the server and for some reason it was receiving DHCP on one of the ports which i believe was causing a problem - . After I mapped the correct external switch to the correct phyiscal NIC and disabled the other NIC i was able to get access.