0

Suppose we have the following situation: there's one network with a router on which the internet access is configured and this includes the DNS IP's. Then we set up Active Directory on a server on this network and promote it to a domain controller.

When I did that the only way other computers could be included on the domain created was by setting one of their DNS IP's to point to the domain controller. When I did that I was able to make the computers part of the domain. On the other hand, this made those computers stop receiving the DNS address from the router and so they couldn't navigate on the internet.

The solution I found was to add as secondary DNS address on the computers the first DNS address configured on the router. I personally didn't like this approach because of two things:

  • The DNS was set up manually in every computers. For just a few it is fine, but if there are many computers this is tedious and if one needs in the future to change this setting would need to change all the computers.

  • The only DNS address I could set up was the primary one. The secondary one, found on the router, cannot be used on the computers, because the two available ones are already in use.

So I think this solution is not a good one. How can I correctly set up computers in a domain to use the right DNS entries to navigate the internet and still be able to join the domain by pointing the DNS entry to the domain controller?

  • 2
    Your DC should also be the DNS Server for your domain clients (setup DNS role on your DC). Then setup your DNS Server (DC here) to forward unknown names to your ISP DNS Servers... – krisFR Apr 25 '15 at 17:25
  • A. You need to have a DHCP server set the DNS server. B. Use the router for the Default Gateway, and DNS should only be provided by the DNS server. – Davidw Apr 25 '15 at 17:41
5

I assume you're using DHCP, right? Use DHCP to specify the default gateway and DNS servers. You can even use DHCP on your DC and keep it all in one place.

DNS should be provided by the domain controller(s). They can forward unknown requests to your ISP's DNS servers.

3

Basically, nevermind if your are using DHCP or not.

Using a single DC in your domain, you have to make it a DNS Server also. Install and configure DNS role on your Domain Controller.

Then configure your clients' DNS to point to the IP Address of your DC.

The most important thing is that you have to setup your DNS Server to forward unknown names queries to your ISP DNS Servers :

enter image description here

(just a screenshot from Google image as my interface is in French...)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.