question

RaymondCorrea-0602 avatar image
0 Votes"
RaymondCorrea-0602 asked DSPatrick answered

Need help with setting up active directory

I’m trying to setup a test domain at home to learn more about active directory. I have a vm setup win server 2019 and followed many guides on how to add a domain controller. Everything seems to be setup correctly, however when I try to add a Pc to a domain I get the following error. Any help would be appreciated The domain name "hometest" might be a NetBIOS domain name. If this is the case, verify that the domain name is properly registered with WINS. If you are certain that the name is not a NetBIOS domain name, then the following information can help you troubleshoot your DNS configuration. 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 "hometest": The error was: "DNS server failure." (error code 0x0000232A RCODE_SERVER_FAILURE) The query was for the SRV record for _ldap._tcp.dc._msdcs.hometest Common causes of this error include the following: - The DNS servers used by this computer contain incorrect root hints. This computer is configured to use DNS servers with the following IP addresses: 192.168.25.1 - One or more of the following zones contains incorrect delegation: hometest . (the root zone)

windows-active-directory
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

DSPatrick avatar image
0 Votes"
DSPatrick answered DSPatrick edited

What operating systems are involved? 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--





5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

RaymondCorrea-0602 avatar image
0 Votes"
RaymondCorrea-0602 answered

I’m running windows 2019 on an old laptop and same issues. I’m just trying to add a windows 10 pro desktop to my local domain.
What is problem member?

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

DSPatrick avatar image
0 Votes"
DSPatrick answered DSPatrick edited

What is problem member?

the desktop machine

Please run;

Dcdiag /v /c /d /e /s:%computername% >c:\dcdiag.log
repadmin /showrepl >C:\repl.txt
ipconfig /all > C:\dc1.txt
netsh advfirewall monitor show currentprofile >C:\DC1profile.txt
ipconfig /all > C:\problemworkstation.txt
netsh advfirewall monitor show currentprofile >C:\problemworkstationprofile.txt
C:\Windows\debug\netsetup.log

then put unzipped text files up on OneDrive and share a link.



5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

FanFan-MSFT avatar image
0 Votes"
FanFan-MSFT answered

Hi,
For this situation, i would also suggest you check if the DC is healthy .
You may try the command provided by DSPatric and check if there are any errors.
If you have any updates, welcome to share here!
Best Regards,

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

RaymondCorrea-0602 avatar image
0 Votes"
RaymondCorrea-0602 answered

Here is the link to the logs: https://1drv.ms/u/s!AtYNeAn3hQMVgg6etowYavZJxGzA?e=JZDm1d

A little info about my setup

ISP is comcast cable which is DHCP & comcast cable gateway.
I have a netgear nighhawk R700 router
Tried to setup both VM and another PC and same results.
have server set to static ip 192.168.25.50
When running the initial everything runs correctly. followed my guides on how to setup a domain controller. the issue seems when i want to join a pc to the domain is where i get the hang up on.

if you need any further info i do my best to help, and thank you for helping me i am trying to learn this stuff.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

DSPatrick avatar image
0 Votes"
DSPatrick answered

On DC1 (Workstation?) domain controller should have own static ip address (192.168.25.55) listed for DNS and no others such as router or public DNS

The other files appear to be invalid for some reason. (do not edit the below commands)

run on domain controller
Dcdiag /v /c /d /e /s:%computername% >c:\dcdiag.log
repadmin /showrepl >C:\repl.txt
ipconfig /all > C:\dc1.txt
netsh advfirewall monitor show currentprofile >C:\DC1profile.txt

run on problem member
ipconfig /all > C:\problemworkstation.txt
netsh advfirewall monitor show currentprofile >C:\problemworkstationprofile.txt
C:\Windows\debug\netsetup.log

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

RaymondCorrea-0602 avatar image
0 Votes"
RaymondCorrea-0602 answered

Here are the new logs hopefully work this time
https://1drv.ms/u/s!AtYNeAn3hQMVghtpf5HzlEXVELop?e=F5pig2

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

DSPatrick avatar image
0 Votes"
DSPatrick answered RaymondCorrea-0602 commented

The domain controller (Workstation) should have own static ip address (192.168.25.55) listed for DNS and no others such as router or public DNS. After fixing do ipconfig /flushdns, ipconfig /registerdns, restart the netlogon service, or simple reboot.

Problem workstation(Workstation1A) should have the static ip address (192.168.25.55) of domain controller listed for DNS and no others such as router or public DNS. Either set it up static or set the DHCP server to hand out 192.168.25.55 for DNS. After fixing do ipconfig /flushdns, ipconfig /registerdns, or simple reboot.

If problems persist after corrections then put up a new set of files to look at.

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




· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Do i change that in the network adapter to sever DNS?

0 Votes 0 ·
DSPatrick avatar image
0 Votes"
DSPatrick answered

Yes, in both cases on network connection properties.

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


5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

RaymondCorrea-0602 avatar image
0 Votes"
RaymondCorrea-0602 answered

looks like the domain popup came up but keep getting an error. here is some logs

https://1drv.ms/u/s!AtYNeAn3hQMVgiV8PiPehKgAwP69?e=7L31gy

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.