External DNS queries on AD Domain controller failing

Ravi 41 Reputation points
2022-03-23T20:56:06.957+00:00

I have a Windows domain with a single AD domian controller (Server 2019) and a bunch of WIndows 10 clients. I also have a firewall (192.168.1.3) . I am unable to resolve external sites on my server but all the clients are fine. The server is getting it's IP from the firewall DHCP (the IP is reserved for the server). How do I fix this so I am able to resolve external hostnames on the server.

ipconfig on the server is shown below

Default Gateway . . . . . . . . . : 192.168.1.3
DHCP Server . . . . . . . . . . . : 192.168.1.3
DHCPv6 IAID . . . . . . . . . . . : 143933641
DHCPv6 Client DUID  . . . . : 00-01-00-01-25-92-C5-E1-94-45-e4-11-20-VB
DNS Servers . . . . . . . . . . . :  ::1
                                             192.168.1.3
NetBIOS over Tcpip. . . . . . . . : Enabled

On all the clients (all are part of the domain), I am able to resolve fine.

    Default Gateway . . . . . . . . . : 192.168.1.3
    DHCP Server . . . . . . . . . . . : 192.168.1.3
    DNS Servers . . . . . . . . . . . : 192.168.1.134
                                        192.168.1.3
    NetBIOS over Tcpip. . . . . . . . : Enabled
    Connection-specific DNS Suffix Search List :
                                        ark.local
Windows for business | Windows Client for IT Pros | Networking | Network connectivity and file sharing
Windows for business | Windows Server | User experience | Other
0 comments No comments
{count} votes

Accepted answer
  1. Anonymous
    2022-03-23T21:51:48.58+00:00

    Domain controller and all members must use domain DNS only so you should remove the router address on clients and add the domain controller's own address listed for DNS. Domain controller should always have a static ip address. On domain controller remove the router address listed for DNS and add the DC's own static ip address. Domain members use domain DNS to find and logon to domain. Internet queries are forwarded and resolved in a top level down fashion by default to the 13 root hint servers. You can optionally add ISP or other public DNS as forwarders.

    --please don't forget to upvote and Accept as answer if the reply is helpful--

    186281-image.png

    186282-image.png


3 additional answers

Sort by: Most helpful
  1. Anonymous
    2022-03-27T15:13:23.91+00:00

    The domain members should not have the router or public DNS on connection properties. This causes great confusion for active directory. Domain members use domain DNS to find and logon to domain. Internet queries are forwarded to public DNS via configured forwarders or if none were configured then to the 13 root hint servers.

    You could probably use the firewall appliance as the configured forwarder. If 8.8.8.8 as forwarder works but firewall appliance address doesn't then it seems some problem in the firewall appliance configuration.

    1 person found this answer helpful.
    0 comments No comments

  2. Ravi 41 Reputation points
    2022-03-26T21:53:15.907+00:00

    @Anonymous Thank you for your response. Sorry was sick and unable to get to my server remotely. I was able to finally go into the office.

    What I see is the following for the root hints section. All rows point to something that is not my IPv4 address.
    187090-screen-shot-2022-03-26-at-54632-pm.png

    In my Forwarders tab, I just see my local firewall address. When I added 8.8.8.8, it starts working.

    I was thinking all the external DNS address resolutions will be performed by my firewall. All my clients are able to resolve external IP addresses by using the firewall.

    0 comments No comments

  3. Anonymous
    2022-03-26T22:31:22.24+00:00

    What I see is the following for the root hints section. All rows point to something that is not my IPv4 address.

    Root hints are a list of top level DNS servers on the Internet that your DNS servers can use to resolve queries for names that it does not know.

    When forwarders are configured then the root hints don't really matter, but the domain controller and all members must use domain DNS only so you should remove the router address on clients and add the domain controller's own address listed for DNS. Domain members use domain DNS to find and logon to domain. Domain controller should also always have a static ip address.

    --please don't forget to upvote and Accept as answer if the reply is helpful--


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.