KB2923392 update BREAKS Gateway function on domain controller

Posted on 2014-03-20
Last Modified: 2014-04-02

We have three domain controllers that each can serve as a Gateway and DNS server to our client computers.  We configure the workstations to list all three domain controllers under both DNS and Gateway settings, so if one goes down, the others are available.

I installed updates on two of the three domain controllers yesterday and some but not all client computers began having serious issues browsing the Internet.  Some computers were unaffected, some could not browse out all; others could load pages but not all components on the page.

By reconfiguring TCP/IP on workstations to point to only one of the domain controllers we determined that one of them (which got updates) was no longer functional as a Gateway.  The other domain controller that got updates continues to function.  (The third was not updated.)  We began removing updates, first KB2930275, which did not have any affect after the reboot.  Then we removed KB2923392.  After the reboot, the domain controller was again functional as a Gateway.  BAD BAD BAD UPDATE!

1.  We don't at all understand why the update did not affect the Gateway functionality of one domain controller but completely broke the Gateway function on the other domain controller.  Both were completely up-to-date with updates.

2.  We know the command "echo %logonserver%" to determine which domain controller was used to authenticate, but this does not seem to have any bearing on which domain controller is currently used as the Gateway and which the DNS server.  We also don't know if a workstation picks a gateway and sticks with it or uses multiple gateways in a round robin manner, which might explain why some components of a web page displayed and others did not; and why some computers seemed unaffected.  How does it work?

3.  Assuming a workstation picks a Gateway and DNS server from its configured static list, and sticks with it, is there an equivalent command to determine which server is its current Gateway and which server is its current DNS server?


Question by:HungerMountain
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 5
LVL 37

Expert Comment

ID: 39943576
What do you mean by gateway, its confusing term in case of domain controllers

Author Comment

ID: 39945159
By "Gateway" I mean that in TCP/IP settings on the workstations, for "Default Gateways" we list the IP addresses of our three domain controllers instead of the router (  The "gateway" address is used by workstations to reach the Internet.  The Domain Controllers themselves list the router as their Gateway, so workstation traffic to the Internet passes through the domain controllers, and packets are then forwarded to the router.  We think that if we list the router as the gateway for workstations, they don't get the default domain security policy.

LVL 37

Expert Comment

ID: 39945203
According to me you should not put DC ip as gateway

What I understood from your explanation, your DC I think are directly going to internet for internet

The best practice is to set default DNS forwarder on domain controllers and not to set DC ip on client machines as gateway


you could place some kind of Proxy server \ firewall and add it as web proxy on workstations

All you need to do is just put up domain controller IP as Preferred and secondary IP on client machines and change default gateway to some router \ switch IP which enables their connectivity between subnets through internal routing

Internet and name resolution needs to be handled by either Domain controllers through ISP forwarders or through web proxy solution

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.


Author Comment

ID: 39953021
Hi Mahesh,

Thanks for your comments.  I believe I agree with your advice regarding DNS.  We have forwarders to an external DNS server set up on each of our three domain controllers that also serve as DNS servers.  We list all three for our workstations, which allows the workstations to resolve internal LAN computer names and domain names (our internal SharePoint site) as well as external domains.  However you did not address my question as to how to determine WHICH of our domain controllers has been selected by the workstation as its DNS server at any given time.

Regarding the Internet Gateway, we will have to do some more testing regarding the impact of a workstation receiving the computer domain policy when it starts up if the gateway is not set to a domain controller.  It is certainly possible that I am wrong to think that is necessary. But we have set our workstations to use a domain controller as the gateway for the last ten years.  I'm not inclined to change that without more investigation.  It occurs to me that when I came here 10 years ago, we had a Small Business Server as the domain controller, which might have been the compelling reason why workstations used that server as the gateway.  That server may have had the role of proxy server/firewall.  Regardless of best practices it certainly DOES work to use a domain controller as a gateway (current issue with the Microsoft update notwithstanding).  And it certainly is supported to use multiple gateways for redundancy.  So my second question also remains:  how do we determine WHICH IP of the listed Gateways is being used by a workstation at any point in time.

Your advice to change our network configuration to point workstations to the router for the gateway may indeed be best practice, but in our current configuration it would be very handy to know which domain controller is serving up the gateway and DNS for our workstations that list three possibilities.

You also did not address the issue of why the update broke the gateway function.  I'm surprised we haven't seen other postings about the issue.  Perhaps most people do NOT use a domain controller as a Gateway so it isn't a common problem.


LVL 37

Expert Comment

ID: 39953108
Yes, Ravi, you are right
Most of the organizations (Even smallest one) will have network router \ windows standalone server acting as router with RRAS role installed (LAN Routing enabled), but directly domain controller is setup as gateway \ router is the 1st time I heard \ see in your case.

Now to answer your question:
how to determine WHICH of our domain controllers has been selected by the workstation as its DNS server at any given time
Since you have DNS forwarders on all 3 servers, its really difficult to understand which DNS server will be used by client at a time since DNS behavior is dynamic and it will try to load balance the queries with round robin
What it means, queries can be routed to any DNS server for internet
The best way to tackle this situation, set dns forwarders (ISP DNS) to any one server and add that server as forwarder on other two servers
Now queries must need to be routed through single server

So my second question also remains:  how do we determine WHICH IP of the listed Gateways is being used by a workstation at any point in time.

I really need more explanation on above question as I don't think I understood it correctly
Are you using all 3 gateways on workstations ?

Also what do you mean by installing update broke gateway functionality ?
May be DNS service got unresponsive post update installation and it might be \ can be solved after restarting DNS service on server
I never heard that due to update installation, internet has stopped working


Author Comment

ID: 39953422
RE DNS:  OK, if a workstation has three DNS servers listed and will alternate among them, I can see why there would not be an equivalent command like echo %logonserver% to determine the DNS server in use.

Yes, we list all three domain controllers as gateways in our workstation tcp/ip config.

We don't think the gateway problem was a DNS issue because we pointed the workstation to an external DNS server while testing our domain controllers as gateways.

We found the source of our problem by listing on a workstation only one domain controller as the gateway at a time for testing and found that two of our domain controllers were functional as a gateway (i.e., allowed the workstation to browse the internet), but the third domain controller which had the update installed did NOT function at all anymore (workstation could not browse the internet).  Hence those workstations that were using that domain controller as a gateway were not able to browse, while other workstations that had selected one of the other two domain controllers as their gateway were fully functional.  We then uninstalled two updates on the problematic domain controller.  After uninstalling the second one and rebooting the domain controller, it again functioned as a gateway for the workstation that only listed it as the gateway.  From this we conclude that the update "broke" the gateway functionality of the domain controller.  It would appear that workstations do NOT use the multiple gateways in a round robin fashion, once they have selected one.  They don't seem to always use the first one listed.  We don't think this was a DNS issue because we pointed the workstation to an external DNS server for testing.

LVL 37

Expert Comment

ID: 39954134
I am really surprised that you are having 3 default gateways defined on workstations, initially i am just thought that but now it is confirmed

Every route for every default gateway must be having some metric defined
Out of 3 gateways, the route which has minimum metric value will be used by machine

I bet this is not a good practise really and best you can do is to get simple router and define its IP as single gateway on client computers

To do what you are trying to achieve, alternate DNS server is sufficient and no need to place multiple gateways on clients
if your primary server fails your alternate server can provide AD authentication and also you can add ISP DNS forwarders on secondary dns server in that case.

Please check below thread regarding multiple gateway


Author Comment

ID: 39958642
We use "automatic" metric for the multiple gateways.  Since all the domain controllers are on the same switch it is not clear which one might be used by a workstation.  Perhaps using automatic metric is just one more bad practice....

I'm still investigating whether there is any impact on the security policy being applied to a computer that doesn't use a domain controller as a gateway.  So far, we have not yet proven that it is necessary to set the gateway to a domain controller.   We DO use the router as the gateway on machines like the POS registers that are not a member of the domain.  We also installed a new SonicWALL router including a "high availability" unit; if the master router goes down, the HA backup takes over using the same IP address.  And if the router, or its backup, isn't working, no one is going to make it to the Internet anyway.  So in that regard, having multiple domain controllers as the gateway would not be needed anyway.  

If there is no adverse affect on the application of the domain security policy it would simplify our configuration, and we would never have had the issue with the Microsoft update impacting the domain controller functioning as a gateway in the first place.

I'm just having a hard time accepting that we have been unnecessarily using the domain controllers as gateways for the 10 years I have worked here and before.  LOL

LVL 37

Accepted Solution

Mahesh earned 500 total points
ID: 39958687
Ravi, thanks for clear comments

Actually there is no relation at all between Domain controller as gateway and applying group polices \ domain security polices

All required is that DNS must be properly set on clients which then can identify DC SRV (Service locator records) and once client can reach to DC, it will get authentication and all security polices
Default gateway never comes in picture in any case with respect to GPO \ Security policy application

The smallest setup I know is even having small router device for gateway purpose


Author Closing Comment

ID: 39972971
Thanks Mahesh.

My former colleague agrees with you and thinks that our habit of using domain controllers as the gateway does date back about 9 years to when our domain controller was a Small Business Server functioning as the firewall.

We plan to point all the workstations at the router for the gateway, which removes the need to determine which of the domain controllers is the active gateway, because it will always be the router.



Featured Post

Ready to get started with anonymous questions?

It's easy! Check out this step-by-step guide for asking an anonymous question on Experts Exchange.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Many of us in IT utilize a combination of roaming profiles and folder redirection to ensure user information carries over from one workstation to another; in my environment, it was to enable virtualization without needing a separate desktop for each…
Today, still in the boom of Apple, PC's and products, nearly 50% of the computer users use Windows as graphical operating systems. If you are among those users who love windows, but are grappling to keep the system's hard drive optimized, then you s…
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor ( Top Charts is a view in which you can set seve…
Suggested Courses

636 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question