Domain Issues

rutlandict
rutlandict used Ask the Experts™
on
Hi,

My server is using Windows SBS 2011 and is on the domain (domain.local). I have got DNS server setup on the server as well. I am trying to connect a pc to the domain but keep getting the following error message :

A domain controller for the domain mydomain.local could not be contacted.

Ensure that the domain name is typed correctly.



If i go for details then i get the following :


Note: This information is intended for a network administrator.  If you are not your network's administrator, notify the administrator that you received this information, which has been recorded in the file C:\WINDOWS\debug\dcdiag.txt.

The following error occurred when DNS was queried for the service location (SRV) resource record used to locate a domain controller for domain rutlandtelecom.local:

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.mydomain.local

Common causes of this error include the following:

- The DNS SRV record is not registered in DNS.

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

mydomain.local
local
. (the root zone)



*The client is getting the IP from a router but the DNS in the client is setup with the IP of the Server.

Could you please help....
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Turn off the DHCP server on the router, and enable the one on your SBS server.

SBS expects to have the DHCP server role, and it will make administration unnecessarily awkward if you try and do it differently.

Author

Commented:
Unfortunately my network design is such that i could not move the DHCP server to the SBS server. Is there any other workaround for this.

Thanks
on the router DHCP set the DNS server ip to server ip. so when the Client get the ip address it will get Primary DNS server as your SBS server.

Author

Commented:
That is how it is setup. On the clinet i have configured static DNS server address which is the address of the local DNS server. But still i keep on getting the same error. Further if i run the dcdiag command on the server, i get the following error message :


Directory Server Diagnosis

Performing initial setup:
   Trying to find home server...
   Home Server = MYSERVER
   * Identified AD Forest.
   Done gathering initial info.

Doing initial required tests

   Testing server: Default-First-Site-Name\MYSERVER
      Starting test: Connectivity
         The host
         60fb6111-aece-4c07-b141-9fbf49ca6f7f._msdcs.mydomain.local could
         not be resolved to an IP address. Check the DNS server, DHCP, server
         name, etc.
         Got error while checking LDAP and RPC connectivity. Please check your
         firewall settings.
         ......................... MYSERVER failed test Connectivity

Doing primary tests

   Testing server: Default-First-Site-Name\MYSERVER
      Skipping all tests, because server MYSERVER is not responding to
      directory service requests.


   Running partition tests on : ForestDnsZones
      Starting test: CheckSDRefDom
         ......................... ForestDnsZones passed test CheckSDRefDom
      Starting test: CrossRefValidation
         ......................... ForestDnsZones passed test
         CrossRefValidation

   Running partition tests on : DomainDnsZones
      Starting test: CheckSDRefDom
         ......................... DomainDnsZones passed test CheckSDRefDom
      Starting test: CrossRefValidation
         ......................... DomainDnsZones passed test
         CrossRefValidation

   Running partition tests on : Schema
      Starting test: CheckSDRefDom
         ......................... Schema passed test CheckSDRefDom
      Starting test: CrossRefValidation
         ......................... Schema passed test CrossRefValidation

   Running partition tests on : Configuration
      Starting test: CheckSDRefDom
         ......................... Configuration passed test CheckSDRefDom
      Starting test: CrossRefValidation
         ......................... Configuration passed test CrossRefValidation

   Running partition tests on : mydomain
      Starting test: CheckSDRefDom
         ......................... mydomain passed test CheckSDRefDom
      Starting test: CrossRefValidation
         ......................... mydomain passed test
         CrossRefValidation

   Running enterprise tests on : mydomain.local
      Starting test: LocatorCheck
         ......................... mydomain.local passed test
         LocatorCheck
      Starting test: Intersite
         ......................... mydomain.local passed test Intersite


tHANKS
On Server what is your primary DNS server? it should point to itself.

Author

Commented:
That is not the case at the moment. I have got two interfaces on the server, one has got public IP and the other has got the local IP from the router. Should i setup primary DNS to the server IP on both the interfaces or will it be enough to set it on the interface which has got local IP.

Thanks
set primary  to your Server and seconday to the router.
run
netdiag /fix
ipconfig /flushdns
ipconfig /registerdns

then check if it works.

Author

Commented:
No it didnt worked. Still getting the same error.
Sikhumbuzo NtsadaIT Administration

Commented:
Does the PC go through the router to connect to the Domain controller? Is the router acting as DHCP?
Did you previously have an SBS 2003 server? If so, that was designed to work with two NIC interfaces; one for LAN  and one for WAN via a router.

SBS 2008 and SBS 2011 (which uses SBS 2008 for the server component) have reverted to a single NIC configuration, so that in the default setup the server is attached to the same switch as the router and all the other computers, printers, and so on.

Your network design appears to conflict with what Microsoft has in mind...

Author

Commented:
Yes the router acts as a DHCP and PC goes through that.
Is the router acting as your network switch?

Why do you find it necessary to give the DHCP role to the router, rather than the SBS box?
IT Administration
Commented:
For testing purposes, de-activate the DHCP service on the router, then add static IP address  to your PC and use the SBS IP adddress for DNS, then test


e.g.

Router default gateway        >> 172.16.1.10
SBS DNS Server                    >> 172.16.1.11
PC/client                               >> 172.16.1.12

So on the PC/client here are the Static values:
IP address                            >> 172.16.1.12
Default gateway                   >> 172.16.1.10
DNS                                      >> 172.16.1.11

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial