Verified for Jammy + Kinetic based on https://wiki.debian.org/LDAP/OpenLDAPSetup#DNS.2FBind9 I've also started on a DEP-8 test based on my testing # lxc launch images:ubuntu/{kinetic, jammy} test-bind-dyndb-ldap # lxc exec test-bind-dyndb-ldap bash # apt update && apt dist-upgrade -y # cat </etc/apt/sources.list.d/ubuntu-$(lsb_release -cs)-proposed.list # Enable Ubuntu proposed archive deb http://archive.ubuntu.com/ubuntu/ $(lsb_release -cs)-proposed restricted main multiverse universe EOF # apt update && apt upgrade -y # apt install bind9 bind9-dyndb-ldap bind9-dnsutils slapd ldap-utils -y > Enter new LDAP password > Update /etc/ldap/ldap.conf to have BASE dc=test,dc=local URI ldap://ldap.test.local # zcat /usr/share/doc/bind9-dyndb-ldap/schema.ldif.gz | sed 's/^attributeTypes:/olcAttributeTypes:/; s/^objectClasses:/olcObjectClasses:/; 1,/1.3.6.1.4.1.2428.20.0.0/ {/1.3.6.1.4.1.2428.20.0.0/!s/^/#/}; 1idn: cn=dns,cn=schema,cn=config\nobjectClass: olcSchemaConfig ' >> /tmp/dns.schema # ldapadd -Q -Y EXTERNAL -H ldapi:/// -f /tmp/dns.schema adding new entry "cn=dns,cn=schema,cn=config" ldapmodify -Q -Y EXTERNAL -H ldapi:/// < Add the following to /etc/bind/named.conf.local dyndb "test_local_ldap" "/usr/lib/bind/ldap.so" { uri "ldapi:///"; base "ou=dns,ou=Services,dc=test,dc=local"; auth_method "simple"; bind_dn "uid=admin,dc=test,dc=local"; password "ldappassword"; server_id "server"; }; # systemctl restart bind9 # dig test.local. @localhost +short 127.0.0.1