diff options
author | Michael Scherer <misc@mageia.org> | 2011-07-04 22:20:32 +0000 |
---|---|---|
committer | Michael Scherer <misc@mageia.org> | 2011-07-04 22:20:32 +0000 |
commit | a110a8db3b7c7c303275857249bf5ae2929a7e08 (patch) | |
tree | f3ef260ccfbc00873d1ceb807ea75de532366b04 /modules/bind/templates/named_master.conf | |
parent | 8bf8a9100d19af93adcef64f7ce7a3bd27791167 (diff) | |
download | puppet-a110a8db3b7c7c303275857249bf5ae2929a7e08.tar puppet-a110a8db3b7c7c303275857249bf5ae2929a7e08.tar.gz puppet-a110a8db3b7c7c303275857249bf5ae2929a7e08.tar.bz2 puppet-a110a8db3b7c7c303275857249bf5ae2929a7e08.tar.xz puppet-a110a8db3b7c7c303275857249bf5ae2929a7e08.zip |
add proper hook for declaring tld zones
Diffstat (limited to 'modules/bind/templates/named_master.conf')
-rw-r--r-- | modules/bind/templates/named_master.conf | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/modules/bind/templates/named_master.conf b/modules/bind/templates/named_master.conf index 92cb40b7..d0c20126 100644 --- a/modules/bind/templates/named_master.conf +++ b/modules/bind/templates/named_master.conf @@ -4,12 +4,18 @@ zone "mageia.org" IN { allow-update { none; }; }; -zone "mageia.fr" IN { +<% +for tld in managed_tlds +%> + +zone "mageia.<%= tld %>" IN { type master; - file "master/mageia.fr.zone"; + file "master/mageia.<%= tld %>.zone"; allow-update { none; }; }; +<% end %> + zone "7.0.0.0.2.0.0.0.8.7.1.2.2.0.a.2.ip6.arpa" IN { type master; file "reverse/7.0.0.0.2.0.0.0.8.7.1.2.2.0.a.2.ip6.arpa.zone"; |