blob: 0df8e2ad2563a5290f660a6dedd56803f84552aa (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
class dns {
class server {
include bind::bind_master
dns::zone { "mageia.org": }
dns::reverse_zone { "7.0.0.0.2.0.0.0.8.7.1.2.2.0.a.2.ip6.arpa": }
dns::reverse_zone { "2.1.0.0.0.0.0.1.b.0.e.0.1.0.a.2.ip6.arpa": }
}
define zone {
bind::zone_master { $name:
content => template("dns/$name.zone")
}
}
define reverse_zone {
bind::zone_reverse { $name:
content => template("dns/$name.zone")
}
}
}
|