Prevent potential side effects and use local variables here
[pdns-ldap-backend/landonf.git] / src / dns.ldif
blobc5861a25335a18bc164db5b2a70d336e0b9124bc
1 # zone related things including SOA, NS and MX records
3 dn: dc=example
4 objectclass: top
5 objectclass: dnsdomain
6 objectclass: domainrelatedobject
7 dc: example
8 soarecord: ns.example.dom hostmaster@example.dom 2002010401 1800 3600 604800 84600
9 nsrecord: ns.example.dom
10 mxrecord: 10 mail.example.dom
11 mxrecord: 20 mail2.example.dom
12 associateddomain: example.dom
15 # Simple record (mail.example.dom has address 172.168.0.2)
17 dn: dc=mail,dc=example
18 objectclass: top
19 objectclass: dnsdomain
20 objectclass: domainrelatedobject
21 dc: mail
22 arecord: 172.168.0.2
23 associateddomain: mail.example.dom
26 # There may more than one entry per record
27 # This is also applicable to all other records including "associateddomain"
28 # but not for a CNAME record
30 dn: dc=server,dc=example
31 objectclass: top
32 objectclass: dnsdomain
33 objectclass: domainrelatedobject
34 dc: server
35 arecord: 10.1.0.1
36 arecord: 172.168.0.1
37 associateddomain: server.example.dom
40 # domain alias ({mail2,ns}.example.dom is CNAME for server.example.dom)
41 # cnamerecord must only contain one entry
43 dn: dc=backup,dc=example
44 objectclass: top
45 objectclass: dnsdomain
46 objectclass: domainrelatedobject
47 dc: server
48 cnamerecord: server.example.dom
49 associateddomain: mail2.example.dom
50 associateddomain: ns.example.dom