LLI Wiki — My Digital Knowledge Base

FreeIPA: DNSSEC and global forwarding to an AD domain

Use dig to check resolution of an AD domain's Kerberos and LDAP SRV records from an IPA server.

On a Linux server that is a member of a FreeIPA / Red Hat IdM domain and must resolve records of an Active Directory domain, DNSSEC validation in the IPA DNS can prevent global forwarding from working. Red Hat documents this case in the solution IPA DNS DNSSEC causes Global Forwarding to not function (subscriber access).

Check that the AD SRV records resolve

From the IPA server, query the Kerberos and LDAP SRV records of the domain controllers (example domain: contoso.com):

dig +short -t SRV _kerberos._tcp.dc._msdcs.contoso.com
dig +short -t SRV _ldap._tcp.dc._msdcs.contoso.com

A correct resolution returns one line per domain controller, formatted as priority weight port target:

0 100 88 dc01.contoso.com.
0 100 88 dc02.contoso.com.
0 100 389 dc01.contoso.com.
0 100 389 dc02.contoso.com.

An empty or failing answer while these records do exist on the AD side means resolution is blocked between IPA and the domain DNS: this is the symptom to match against the Red Hat solution above.

Other useful queries

dig can also query any given SRV or TXT record directly:

dig +short -t SRV <record-name>
dig +short -t TXT <record-name>
Mastodon LLIMastodon SocialFosstodon