From: Petter Reinholdtsen powerdns PowerDNs have two modes of operation using LDAP as its backend.
+ PowerDNS have two modes of operation using LDAP as its backend.
One "strict" mode where the forward and reverse DNS lookups are done
using the same LDAP objects, and a "tree" mode where the forward and
reverse entries are in two different subtrees in LDAP with a structure
@@ -41,7 +42,7 @@ cnamerecord, soarecord, ptrrecord, hinforecord, mxrecord, txtrecord,
rprecord, aaaarecord, locrecord, srvrecord, naptrrecord and
modifytimestamp. In Debian Edu/Lenny, the powerdns tree mode is used, and this is
+ In Debian Edu/Lenny, the PowerDNS tree mode is used, and this is
two example LDAP objects used there. In addition to these objects,
the parent objects all th way up to
ou=hosts,dc=skole,dc=skolelinux,dc=no also exist.
Things to note with the powerdns behaviour is that it do not +
Things to note with the PowerDNS behaviour is that it do not specify any objectclass names, and instead look for the attributes it need to generate a DNS reply. This make it able to work with any objectclass that provide the needed attributes.
@@ -117,7 +118,7 @@ attributes combined with the domainrelatedobject object class, but in this case some unused attributes would have to be included as well (zonename and relativedomainname). -My proposal would be to switch powerdns to strict mode and not use +
My proposal would be to switch PowerDNS to strict mode and not use any of the existing objectclasses (dnsdomain, dnsdomain2 and dnszone) when one want to combine the DNS information with DHCP information, and instead use a auxiliary object class defined something like this @@ -138,10 +139,11 @@ objectclass ( some-oid NAME 'dnsDomainAux'
This will allow any object to become a DNS entry when combined with the domainrelatedobject object class, and allow any object to get all -the attributes powerdns wants.
+the attributes PowerDNS wants. I've sent an email to the PowerDNS +developers asking for their view on this schema and if they are +interested in providing it with poewrdns. -ISC dhcp -======== +ISC dhcp
The DHCP server searches for specific objectclass and requests all the object attributes, and then uses the attributes it want. This make it @@ -222,8 +224,7 @@ dhcpHWAddress: ethernet 00:00:00:00:00:00 dhcpStatements: fixed-address hostname -Conclusion -========== +Conclusion
The PowerDNS implementation seem to be very flexible when it come to which LDAP schemas to use. While its "tree" mode is rigid when it