Jump to content

Recommended Posts

Posted (edited)

Hi all,

 

Having an issue with our domain controller, for the past few weeks we've not been able to access the internet from a browser on it. I can ping other devices on the network from the DC but when I try and ping Google or BBC or anything else I get "Ping request could not find host google.co.uk. Please check name and try again."

 

Chrome says "This site can't be reached. www.google.co.uk's server IP address could not be found. DNS_PROBE_FINISHED_BAD_CONFIG.

 

Tried rebooting the DC but hasn't worked. Internet access from other VMs on the Hyper-V is fine, it's just DC1.

Everything else if fine apart from this, all devices can access roles installed on the DC, incl. network shares, print server etc. WSUS is installed on this DC though so it's not pulling through latest updates which is starting to worry me now as clients won't receive them either.

Any ideas?

 

Thanks in advance.

Edited by toffee_paul
Posted

I've checked the Forwarders and both Virgin Media's entries are present. Any other ideas?

 

This is driving me insane, I've restarted the entire physical Hyper-V host now so everything's had a clean boot and this VM is the only one that doesn't access the internet out of 4 running on Hyper-V.

Posted
Double check the DNS settings on your TCP/IP config, try pointing to a known DC DNS server that works, then work backwards from there
Posted

Ok still having this problem. No internet connectivity on DC and ping not working either. When I change the Preferred DNS server from 192.168.1.20 (which is also the IP of the DC running the DNS role), to Google's public IP 8.8.8.8 or even to the IP of our Smoothwall, internet connectivity returns. The Preferred DNS setting has always been the IP of the DC itself so I have no idea what's going on.

 

Anyone any ideas?

Posted

Set 127.0.0.1 instead of 192.168.1.20 and test.

 

What if you temporarily set 8.8.8.8 as the first DNS Forwarder and keep the DNS settings the same on the NIC?

 

What DNS server is the rest of the network using?

Posted

Have you only one DNS server.

 

Can you do a tracert to 8.8.8.8 and 8.8.4.4

 

Forwarders should point to suitable external DNS servers. In the IPv4/IPv6 either point it to local host or the IP address of the local machine and in the secondary DNS point it to a Secondary DNS server if you have one. Somepeople might do this the other way around.

Posted
In the IPv4/IPv6 either point it to local host or the IP address of the local machine and in the secondary DNS point it to a Secondary DNS server if you have one. Somepeople might do this the other way around.

 

If you're using multiple DNS servers always point to the other one first and itself as secondary or you risk the DNS Island Effect.

Posted

All clients are using 192.168.1.20 and can reach internet with no issues.

 

First I added 8.8.8.8 as the first forwarder in the list (retaining existing NIC settings as advised) and it validated immediately to 'google-public-dns-a-google.com' but still no internet connectivity.

 

Then I tried setting the DNS server on NIC to 127.0.0.1and this worked and sites are loading nicely.

 

What does this mean then? If the DC (the only one on the network) has IP of 192.168.1.20, and has the DNS and DHCP roles installed, can't access the internet and can't ping using it's own IP address as the Preferred DNS server, but works with 127.0.0.1 .... why would that be?

Posted (edited)
If you're using multiple DNS servers always point to the other one first and itself as secondary or you risk the DNS Island Effect.

 

Not necessarily

 

The "DNS Can Become an Island" issue was from Windows 2000, not Windows 2003 or newer. Windows 2000 SP4 that was released in the summer of 2002, addressed and corrected the issue. For quite some time after that, and because of that, the mindset was to point to another first, then itself as the second to "just in case" to prevent any island issues. But it wasn't necessary and it really came down to what was best for the scenario.

 

The whole DNS settings question has been debated/argued by Microsoft engineers since AD's pre-RTM time frame (around 1999). The consensus among Microsoft engineers now is to set the first entry to a partner/replica, and the second DNS entry to itself or the loopback, kind of like what we did to eliminate the Island thing. Matter of fact, the BPA now looks for that.

 

So, the answer is .... is actually based on who you ask. Even Microsoft engineers have been discussing this for over 14 years.

 

I do always run DC DIAGs and DNS tests before and after I introduce any new domain controllers or upgrades on Domain Controllers.

 

 

https://social.technet.microsoft.com/Forums/ie/en-US/b7bf37a2-6e1a-40a8-8d4b-1c15ee9bc0fa/2k8-best-practice-for-setting-the-dns-server-list-on-a-dcdns-server-for-an-interface?forum=winserverNIS

Edited by Davit2005
Posted
All clients are using 192.168.1.20 and can reach internet with no issues.

 

First I added 8.8.8.8 as the first forwarder in the list (retaining existing NIC settings as advised) and it validated immediately to 'google-public-dns-a-google.com' but still no internet connectivity.

 

Then I tried setting the DNS server on NIC to 127.0.0.1and this worked and sites are loading nicely.

 

What does this mean then? If the DC (the only one on the network) has IP of 192.168.1.20, and has the DNS and DHCP roles installed, can't access the internet and can't ping using it's own IP address as the Preferred DNS server, but works with 127.0.0.1 .... why would that be?

 

If you run arp -a in cmd on the DC do you have multiple physical addresses for 192.168.1.20?

Posted
Not necessarily

 

 

 

I do always run DC DIAGs and DNS tests before and after I introduce any new domain controllers or upgrades on Domain Controllers.

 

 

https://social.technet.microsoft.com/Forums/ie/en-US/b7bf37a2-6e1a-40a8-8d4b-1c15ee9bc0fa/2k8-best-practice-for-setting-the-dns-server-list-on-a-dcdns-server-for-an-interface?forum=winserverNIS

 

It is still best practice to help avoid replication issues, as in your quote it is Microsoft's recommendation.

Posted (edited)
It is still best practice to help avoid replication issues, as in your quote it is Microsoft's recommendation.

 

 

The term used was "The consensus among Microsoft engineers" .

 

There is a lot of debate on this subject on the Internet. Whether or not you should use a loopback address adds more confusion.

 

Configure network adapters on this DNS server to use the loopback address (127.0.0.1, 0:0:0:0:0:0:0:1, or ::1) as one of the DNS servers, but not as the first DNS server on the list. If the loopback address is configured as the first DNS server, then configure another DNS server first.
Edited by Davit2005
Posted (edited)

Here are the results of the dcdiag /test:dns

(performed using the 192.168.1.20 as the Preferred DNS server, not the 127.0.0.1 that JackCPickup said to try)

 

Image 018.png

Edited by toffee_paul
  • 1 month later...
Posted
Ok thought I'd close this off and say it's not fixed. Appears that uninstalling MalwareBytes fixed the problem. And there's me thinking that software is the dogs ********* well not anymore!

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...