Solution: No ports needed to be open since sonicwall VPN's allow all traffic by default. I just pointed the client machine's primary DNS to the DC and it worked.
Thanks guys, great site. -Will
How can I create a static entry, so when the computer tries to connect to our domain, it will be pointed to the DC (10.0.0.21). I would rather not involve a DNS server in this.
I tried setting the DC as my secondary DNS within TCP/IP settings but that didn't work.
The exact error is as follows: "AN AD DC for the domain "x" could not be contacted. Ensure it was typed correctly."
"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 "X.com":
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.X.com"
The two networks are connected over the internet by SonicWall VPN Routers. Do I need to unblock any ports?