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

This one is multi-homed and also uses the router for DNS. Domain controller and all members must 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 followed this guide on here, let me know if i missing a step or there is something else i need to do
https://www.youtube.com/watch?v=0tONNzREopw&t=722s

a few follow up questions, i am a noob here so im learning here and i apologize for any frustration i may have caused.
do i need to enable DHCP server in win server?
would a router setting if any could potentially block a domain server?
can the isp block this too?
in a VM what network settings should i enabled?
do i need a static ip from the ISP to setup a domain controller?

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

do i need to enable DHCP server in win server?

No, this is not a requirement

would a router setting if any could potentially block a domain server?

unlikely since the domain would be all be on one (private) side

can the isp block this too?

not sure what blocking you're asking about?

in a VM what network settings should i enabled?

the same as if a physical connection. The domain controller and domain members should not be multi-homed and should have the static ip address of DC listed for DNS and no others such as router or public DNS

do i need a static ip from the ISP to setup a domain controller?

yes, always use a static address for a domain controller.

--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

Well finally after many many attempts i finally was able to join my client pc to vm server that i wanted to try out.

So the issue was with the DNS settings, I didn't have to appropriate settings.

I had the server ip set as
IP192.168.254.50
Subnet255.255.255.0
Gatewat192.168.254.1

Then i had the DNS set to 192.168.254.1, didnt work, tried 127.0.0.1 didn't work. finally set my DNS on the server to 192.168.254.50, then set DNS on Client as 192.168.254.50 and i was able to join without issue.

Finally i got things working and would like to deploy this on my home network to manage all my pcs for educational purposes and job learning too. question is Server is very expensive. would it be easier to just keep on using the trials? or purchase a license? or go linux domain controller? any suggestions would be helpful and once again thank you so much for all your help.

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

Domain controller and all members must 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.