Unable to add DKIM record to FreeIPA DNS server

Solution Verified - Updated -

Issue

  • Attempting to add DKIM record to IdM DNS server as TXT resource record
  • Record is shown in WebUI and at CLI via ipa dnsrecord-show
  • However, the DNS record does not exist when querying, with NXDOMAIN returned by dig
  • syntax error is found in /var/named/data/named.run

    15-Dec-2020 18:41:23.714 failed to parse RR entry: resource record DN 'idnsname=example.com._domainkey,idnsname=idm.example.com.,cn=dns,dc=idm,dc=example,dc=com': data 'v=DKIM1; k=rsa; p=MIIBIjANBgkqhkiG9w0 <...> ywkeRcMI/m2bQIDAQAB': syntax error
    

Environment

  • Red Hat Enterprise Linux 7
  • Red Hat Enterprise Linux 8
  • Red Hat Identity Management (IdM) / FreeIPA
    • ipa-server
    • ipa-server-dns
    • bind-pkcs11 / named-pkcs11.service

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content