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") } } }