1 # LDAP schema for PowerDNS specific information
3 # This schema does not define a way to store DNS
4 # data but only metadata relevant only to the
5 # PowerDNS implementation of a LDAPĀ backend.
6 # See dnsdomain2.schema for a schema that contains
7 # everything needed to store the zones and RRs.
10 # Sequanux - Gregory Oestreicher <greg@kamago.net>
13 # PowerDNS LDAP schema
15 # 1.3.6.1.4.1.27080.2.1
16 # PowerDNS LDAP schema attributes
18 # 1.3.6.1.4.1.27080.2.2
19 # PowerDNS LDAP schema object classes
21 attributetype ( 1.3.6.1.4.1.27080.2.1.1 NAME 'PdnsDomainId'
22 DESC 'Domain identifier in the LDAP backend - mapped to DomainInfo::id'
23 EQUALITY numericStringMatch
24 SYNTAX 1.3.6.1.4.1.1466.115.121.1.36 SINGLE-VALUE )
26 attributetype ( 1.3.6.1.4.1.27080.2.1.2 NAME 'PdnsDomainNotifiedSerial'
27 DESC 'Last serial number of this zone that slaves have seen - mapped to DomainInfo::notified_serial'
28 EQUALITY numericStringMatch
29 SYNTAX 1.3.6.1.4.1.1466.115.121.1.36 SINGLE-VALUE )
31 attributetype ( 1.3.6.1.4.1.27080.2.1.3 NAME 'PdnsDomainLastCheck'
32 DESC 'Last time this zone was checked over at the master for changes - mapped to DomainInfo::last_check'
33 EQUALITY numericStringMatch
34 SYNTAX 1.3.6.1.4.1.1466.115.121.1.36 SINGLE-VALUE )
36 attributetype ( 1.3.6.1.4.1.27080.2.1.4 NAME 'PdnsDomainMaster'
37 DESC 'IP address of the master(s) of this domain, if any - mapped to DomainInfo::masters - Multivalued attribute'
38 EQUALITY caseIgnoreIA5Match
39 SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 )
41 attributetype ( 1.3.6.1.4.1.27080.2.1.5 NAME 'PdnsDomainType'
42 DESC 'Type of zone, must be one of "master", "slave" or "native" - mapped to DomainInfo::kind'
43 EQUALITY caseIgnoreIA5Match
44 SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE )
46 objectclass ( 1.3.6.1.4.1.27080.2.2.1 NAME 'PdnsDomain'
47 DESC 'PDNS domain metadata information'
50 MAY ( PdnsDomainNotifiedSerial $ PdnsDomainLastCheck $
51 PdnsDomainMaster $ PdnsDomainType ) )