OS X: Verifying DNS consistency for Active Directory binding

Active Directory integration 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.

To verify the consistency of Active Directory service records (SRV records), the following Terminal command can be used to query DNS:

dig -t SRV

...where _service is the service to be queried (_ldap, _kerberos, _kpasswd or _gc) and is the fully qualified domain name of the Active Directory domain.

To verify the validity of service record location in DNS, ensure that three criteria are met:

  1. Each service record type has at least one answer in the ANSWER SECTION--this tests completeness.
  2. Each service record type has the same number of answers in the HEADER SECTION--this tests consistency.
  3. 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, you can use this Microsoft Technet article to troubleshoot Active Directory-related DNS issues: Troubleshooting Active Directory—Related DNS Problems.

Additional Information

The dig command will return results similar to this:

; <<>> DiG 9.4.2-P2 <<>> -t SRV

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



;; ANSWER SECTION: 600 INSRV0 100 389 600 INSRV0 100 389


Important: Mention of third-party websites and products is for informational purposes only and constitutes neither an endorsement nor a recommendation. Apple assumes no responsibility with regard to the selection, performance or use of information or products found at third-party websites. Apple provides this only as a convenience to our users. Apple has not tested the information found on these sites and makes no representations regarding its accuracy or reliability. There are risks inherent in the use of any information or products found on the Internet, and Apple assumes no responsibility in this regard. Please understand that a third-party site is independent from Apple and that Apple has no control over the content on that website. Please contact the vendor for additional information.
Last Modified: Oct 22, 2013
  • Last Modified: Oct 22, 2013
  • Article: HT3394
  • Views:

  • Rating:
    • 100.0

    (1 Responses)

Additional Product Support Information

Start a Discussion
in Apple Support Communities
See all questions on this article See all questions I have asked