Join client machine to new domain errors

Scott Dawson 21 Reputation points
2021-02-07T13:05:20.837+00:00

Hi - First post and my first time building a domain controller !!.

At the grand old age of 57 I have built my first Domain Controller (well at least tried to) - Using Server 2012 R2 I have created a Domain Controller - added DNS and DHCP.
Both DNS and DHCP seem to be working correctly as my client gets a lease and can resolve dns queries however I cannot join the client to my domain.

The error I get is as below

The following error occurred when DNS was queried for the service location (SRV) resource record used to locate an Active Directory Domain Controller (AD DC) for domain "Folly.Office":

The error was: "DNS name does not exist."
(error code 0x0000232B RCODE_NAME_ERROR)

The query was for the SRV record for _ldap._tcp.dc._msdcs.Folly.Office

Common causes of this error include the following:

  • The DNS SRV records required to locate a AD DC for the domain are not registered in DNS. These records are registered with a DNS server automatically when a AD DC is added to a domain. They are updated by the AD DC at set intervals. This computer is configured to use DNS servers with the following IP addresses:

192.168.1.16

  • One or more of the following zones do not include delegation to its child zone:

Folly.Office
Office
. (the root zone)

What am I doing wrong - please be gentle and explain in very plain terms (like I said I'm old and a first timer :-))

Active Directory
Active Directory
A set of directory-based technologies included in Windows Server.
6,531 questions
0 comments No comments
{count} votes

Accepted answer
  1. Anonymous
    2021-02-07T13:36:53.653+00:00

    I'd check that the domain controller and problem member both have the static ip address of DC listed for DNS and no others such as router or public DNS

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

    1 person found this answer helpful.
    0 comments No comments

4 additional answers

Sort by: Most helpful
  1. David Broggy 5,806 Reputation points MVP
    2022-08-09T01:39:29.097+00:00

    better late than never.
    Had the same issue and running this command fixed it for me:
    On the Domain Controller run:
    DCDiag /Fix
    Then restart the NetLogon service
    Now when you go back to the DNS admin UI all your 'missing underscore folders' should have been rebuilt.

    A good test to validate that your DC can be resolved is run this command from any windows workstation/server:

    nltest /dsgetdc:<your Domain Controller Domain>

    example screenshot
    (don't worry about the domain in the screenshot it's just for my training/lab use)

    229317-image.png

    Reference:
    aquicktiptofixdcsrvsinactivedirectorydomain

    1 person found this answer helpful.

  2. Thomas Nielsen 136 Reputation points
    2021-02-07T15:56:53.287+00:00

    Hi

    I sounds like your DNS server is not working correct. Can you confirm that your server is having the IP 192.168.1.16?

    If you run an ipconfig /all on your client what IP does the client have and what is the primary DNS server for that client.

    Let us start there, because that is the first step I would check.

    Best Regards
    Thomas
    https://www.techthatworks.net/

    0 comments No comments

  3. Hannah Xiong 6,276 Reputation points
    2021-02-08T02:48:15.967+00:00

    Hello,

    Thank you so much for posting here.

    Usually we could follow below to join the client computer to domain.

    1, Logon the client computer with local Administrator account and set the Preferred DNS server, we need to set the IP address of  DNS server as the Preferred DNS server of this new server.

    In my case, my PDC is also a DNS server, and the IP address of my PDC is 192.168.2.67.
    And I want to add one new server to the domain of the PDC, I will set the Preferred DNS server of the new server as below:

    65117-1.jpg

    2, Join the computer to existing domain. 

    Open Control Panel\All Control Panel Items\System and click change settings\Computer Name tab\ click change.

    65154-22.jpg
     
    As for our issue, as mentioned, it seems to be DNS issue. We could try the steps to troubleshoot:

    1.Check if we type the correct domain name.

    2, Check whether the preferred DNS server is correctly configured.

    3, Run nslookup domain name to check whether the domain could be successfully resolved.

    4, Run Ping IP address of DNS server and FQDN to check whether it could connect to DNS.

    5, Run Ping domain name to check whether it could connect to the domain.

    For example:

    65124-33.png

    For more information about troubleshoot domain join error message, we can refer to:

    Troubleshooting Domain Join Error Messages
    https://social.technet.microsoft.com/wiki/contents/articles/1935.troubleshooting-domain-join-error-messages.aspx

    Best regards,
    Hannah Xiong

    ============================================

    If the Answer is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

  4. Scott Dawson 21 Reputation points
    2021-02-08T18:49:40.313+00:00

    Hi All, Many thanks for the replies.

    It turned out the my DNS configuration on the server was wrong - There was a whole bunch of config missing _msdcs, _sites etc . So I deleted the zone and recreated it this time it worked ! (no real idea what I did wrong the first time though - all I can think is that I created the DNS config before making it a domain controller ?)

    65526-capture.png


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.