I know troubleshooting DNS problems may be tricky, but my configuration is so simple it just should work - but it doesn't.
Here's my setup (all machines are Windows Server 2008 R2):
MachineA has been made a domain controller and DNS-server, following the instructions on http://www.elmajdal.net/win2k8/setting_up_your_first_domain_controller_with_windows_server_2008.aspx
The only exception is that MachineA has a dynamic IP-address. This gave me a warning somewhere during the promotion, but I (perhaps incorrectly) ignored it.
The IP-address of MachineA is 192.168.0.195, and been reserved in the router. The router's IP-address is 192.168.0.1
The network controller's primary DNS has been set to 127.0.0.1 (this was done by the promotion wizard, not me).
Now, when I try to join MachineB to the domain, I get an error (see last for the entire message). It is very easy to work around, by hard-coding the primary DNS to point to MachineA (192.168.0.195). But the fact that I have to do this makes me feel uneasy, I guess this could bite me later. Also, I will install more machines, and having to hard-code the primary DNS is awkward and error-prone.
So, any ideas what could be wrong?
Here's the error message:
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 "jooba.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.radio
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:
- One or more of the following zones do not include delegation to its child zone:
. (the root zone)