Router – Why can’t I connect to the internet when the server is down

domain-name-systeminternetrouterwide-area-networkwindows-server-2012

Does anybody know why I cannot connect to the internet when my Server is down?

Problem:
1.) My Windows 7 machines cannot connect to the internet when my Windows 2012 server is down.
2.) My Windows Vista machines cannot connect to the internet when my Windows 2012 server is down.

Note: The browser error that I get is "…DNS address could not be found."
Note: The ping error that I get is "Could not find the host"
Note: LAN connections work

Setup:
► Server OS = Windows Server 2012 Essentials

    Web Server Role (IIS)

    DNS Server Role

► Modem
► Router (DHCP Server)
► Port Forwarding 53 (DNS)

Situation:
The problem presents itself under these conditions:

  1. I turn off the Server
  2. I remove port forwarding 53 (ie, I make my router the DNS Server again)

Summary:

When I attempt to stop forwarding the DNS role to my Server the rest of my computers still fail to access the internet.

Does anybody know why?

Thank you.

Best Answer

When your Windows 7 machines start up, they go through a DHCP discovery process to obtain an IP address and (most importantly for you) DNS settings.

DNS is used to resolve domain names (e.g. google.com) to IP addresses. This is essential for browsing the web. Without DNS you'd need to know the IP address of all the sites you intend to visit

When your server is powered off:

  1. DNS is down - so your Windows 7 clients can't resolve domain names to IP addresses (a broken internet experience)
  2. DHCP is down - so your Windows 7 clients can't retrieve new details via ipconfig /release or /renew

So that's why they can't browse the web.

As a quick fix, configure your server's DHCP role to provide Google DNS (8.8.8.8) as secondary. That way when your server is down, your Windows 7 clients will use Google DNS to resolve domain names instead - allowing the internet experience to continue

In the longer term, consider the following:

  • Does your server need to provide DHCP and DNS services at all? Or could you rely on your router for this?
  • If you do want to provide these services on your internal network, consider resilience options:
    • Bringing up multiple DNS servers on your network
    • Enable DHCP failover options
    • Depending on the size of your network, this could be overkill

Hope this helps!

Related Topic