# schema for DNS data
# include this file into Your slapd.conf for openldap-2.0.x
# $Id: dns.schema,v 1.9 2001/11/06 08:01:51 config Exp $

attributetype ( 1.3.6.1.4.1.7222.1.4.1
	NAME 'dnszonename'
	SUP name )

attributetype ( 1.3.6.1.4.1.7222.1.4.2
	NAME 'dnsserial'
	SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 
        SINGLE-VALUE )

attributetype ( 1.3.6.1.4.1.7222.1.4.3
	NAME 'dnsrefresh'
	SYNTAX 1.3.6.1.4.1.1466.115.121.1.27
        SINGLE-VALUE )

attributetype ( 1.3.6.1.4.1.7222.1.4.4
	NAME 'dnsretry'
	SYNTAX 1.3.6.1.4.1.1466.115.121.1.27
        SINGLE-VALUE )

attributetype ( 1.3.6.1.4.1.7222.1.4.5
	NAME 'dnsexpire'
	SYNTAX 1.3.6.1.4.1.1466.115.121.1.27
        SINGLE-VALUE )

attributetype ( 1.3.6.1.4.1.7222.1.4.6
	NAME 'dnsminimum'
	SYNTAX 1.3.6.1.4.1.1466.115.121.1.27
        SINGLE-VALUE )

attributetype ( 1.3.6.1.4.1.7222.1.4.7
	NAME 'dnsadminmailbox'
	SUP name )

attributetype ( 1.3.6.1.4.1.7222.1.4.8
	NAME 'dnszonemaster'
	SUP name )

attributetype ( 1.3.6.1.4.1.7222.1.4.9
	NAME 'dnstype'
	SUP name )

attributetype ( 1.3.6.1.4.1.7222.1.4.10
	NAME 'dnsclass'
	SUP name )

attributetype ( 1.3.6.1.4.1.7222.1.4.11
	NAME 'dnsdomainname'
	SUP name )

attributetype ( 1.3.6.1.4.1.7222.1.4.12
	NAME 'dnsipaddr'
	EQUALITY numericStringMatch
	SUBSTR numericStringSubstringsMatch
        SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{16} )

attributetype ( 1.3.6.1.4.1.7222.1.4.13
	NAME 'dnscipaddr'
	EQUALITY numericStringMatch
	SUBSTR numericStringSubstringsMatch
        SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{16} )

attributetype ( 1.3.6.1.4.1.7222.1.4.14
	NAME 'dnscname'
	SUP name )

attributetype ( 1.3.6.1.4.1.7222.1.4.15
	NAME 'dnspreference'
	SYNTAX 1.3.6.1.4.1.1466.115.121.1.27
        SINGLE-VALUE )

attributetype ( 1.3.6.1.4.1.7222.1.4.16
	NAME 'dnsrr'
	SYNTAX 1.3.6.1.4.1.1466.115.121.1.26
        SINGLE-VALUE )

attributetype ( 1.3.6.1.4.1.7222.1.4.17
	NAME 'dnsttl'
	SYNTAX 1.3.6.1.4.1.1466.115.121.1.27
        SINGLE-VALUE )

attributetype ( 1.3.6.1.4.1.7222.1.4.18
	NAME 'dnstimestamp'
	SYNTAX 1.3.6.1.4.1.1466.115.121.1.26
        SINGLE-VALUE )

attributetype ( 1.3.6.1.4.1.7222.1.4.21
	NAME 'NIChandle'
	EQUALITY caseIgnoreMatch
	SUBSTR caseIgnoreSubstringsMatch
	SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{16} )

attributetype ( 1.3.6.1.4.1.7222.1.4.22
	NAME 'TIShandle'
	EQUALITY caseIgnoreMatch
	SUBSTR caseIgnoreSubstringsMatch
	SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{16} )

objectclass ( 1.3.6.1.4.1.7222.1.4.19
	NAME 'dnszone' 
	MUST ( objectclass $ cn )
	MAY ( dnszonename $ dnsserial $ dnsrefresh $ dnsretry $ dnsexpire
	    $ dnsminimum $ dnsadminmailbox $ dnszonemaster $ dnstype $ dnsclass
	    $ dnsttl $ dnstimestamp $ owner $ NIChandle $ TIShandle ) )

objectclass ( 1.3.6.1.4.1.7222.1.4.20
	NAME 'dnsrrset' 
	SUP dnszone
	MUST ( objectclass $ cn )
	MAY ( dnsdomainname $ dnsrr $ dnsclass $ dnstype $ dnsipaddr $ dnscipaddr 
	    $ dnscname $ dnspreference $ dnsttl $ dnstimestamp $ owner ) )

