Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I'm trying to join my clients to my domain.so i used Netdom command to join PCs.every thing is perfect but i have to set DNS for clients.i want to ask,there is any way to join PCs to domain without setting DNS?

share|improve this question
    
Are you using DHCP in the network? –  Davidw Dec 8 '13 at 17:44
    
How are they getting their DNS configuration now and why doesn't it default to your domain controllers? –  MDMarra Dec 9 '13 at 22:46

3 Answers 3

up vote 5 down vote accepted

In order to find a Domain Controller so that the clients can join the domain they need to query the DNS server that holds the DNS SRV records for the domain. The only way to do that is to set the clients to use the DNS servers that hold the AD DNS zones.

It might be possible to configure the clients current DNS servers to forward queries for the AD DNS zone to the appropriate DNS server for the AD zones, but that doesn't strike me as a viable option in your case.

share|improve this answer

If you have DHCP enabled on the network, you can have the DHCP server hand out the DNS Server address via DHCP options.

From Technet (assuming a Windows Server DHCP server):

Table 4.5 Default DHCP Options

Code

Option name

Meaning

6 DNS servers Specifies a list of IP addresses for DNS name servers available to the client

http://technet.microsoft.com/en-us/library/cc958929.aspx

share|improve this answer

If you are trying to support a BYOD scenario where clients come to you with a preconfigured network profile with access to public DNS, and you don't mind a bit of information disclosure, you could simply create the DC Locator record in public DNS.

Let's say your AD Domain FQDN is local.contoso.com, go ahead and create the following records in public DNS:

dc01.local.contoso.com                  A             [Domain Controller IP] 
_ldap._tcp.dc._msdcs.local.contoso.com  SRV  0 0 389  dc01.local.contoso.com

Now clients will be able to locate your domain controller when you join them to the domain.

But even then, after joining, you still have to provide the clients with a preferred DNS server address that can resolve your AD zones.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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