Mac OS X v10.5: Verifying DNS consistency for Active Directory binding
Summary
The Mac OS X v10.5 Active Directory connector is dependent on locating and identifying both domain controllers (DC's) and Global Catalog servers (GC's) via DNS. In order for this functionality to work as expected, the DNS system hosting Active Directory must be complete, correct, and consistent.
Products Affected
Mac OS X 10.5
To verify the consistency of Active Directory service records (SRV records), the following dig command can be used to query DNS in Terminal:
dig -t SRV _service._tcp.fqdn.example.com
...where _service is the service to be queried (_ldap, _kerberos, _kpasswd or _gc) and fqdn.example.com is the fully qualified domain name of the Active Directory domain.
The dig command will return results similar to the following:
; <<>> DiG 9.4.2-P2 <<>> -t SRV _ldap._tcp.fqdn.example.com
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 53473
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 2
;; QUESTION SECTION:
;_ldap._tcp.fqdn.example.com.INSRV
;; ANSWER SECTION:
_ldap._tcp.fqdn.example.com. 600 INSRV0 100 389 dc1.fqdn.example.com.
_ldap._tcp.fqdn.example.com. 600 INSRV0 100 389 dc2.fqdn.example.com.
;; ADDITIONAL SECTION:
dc1.fqdn.example.com.3600INA10.0.0.1
dc2e.fqdn.example.com.3600 INA10.0.0.2
To verify the validity of service record location in DNS, ensure that three criteria are met:
- Each service record type has at least one answer in the ANSWER SECTION. This tests completeness.
- Each service record type has the same number of answers in the HEADER SECTION. This tests consistency.
- Each answer returned in the ADDITIONAL SECTION is a valid server name and IP address. This tests correctness.
If any of these three criteria are not met, use this Microsoft Technet article to troubleshoot Active Directory-related DNS issues: Troubleshooting Active Directory—Related DNS Problems.
Twitter
Facebook