include "/etc/bind/named.conf.acl";
include "/etc/bind/geodns/named.conf.geo";
+
+view "default" {
+ match-clients { any; };
+
+ zone "security.debian.org" {
+ type master;
+ file "/etc/bind/geodns/zonefiles/db.security.debian.org";
+ notify no;
+ allow-query { any; };
+ allow-transfer { };
+ };
+
+ zone "www.debian.org" {
+ type master;
+ file "/etc/bind/geodns/zonefiles/db.www.debian.org";
+ notify no;
+ allow-query { any; };
+ allow-transfer { };
+ };
+
+};
owner => root,
group => bind,
}
- file { '/etc/bind/named.conf.puppet-shared-keys':
- mode => '0640',
- content => template('named/named.conf.puppet-shared-keys.erb'),
- owner => root,
- group => bind,
- notify => Service['bind9'],
- }
}
group => bind,
mode => '0775',
}
+
+ file { '/etc/bind/named.conf.puppet-shared-keys':
+ mode => '0640',
+ content => template('named/named.conf.puppet-shared-keys.erb'),
+ owner => root,
+ group => bind,
+ notify => Service['bind9'],
+ }
}
};
-<% if classes.include?('named::authoritative') -%>
include "/etc/bind/named.conf.puppet-shared-keys";
-<% end -%>
[ 'denis.debian.org', 'ravel.debian.org' ],
[ 'denis.debian.org', 'senfl.debian.org' ],
[ 'denis.debian.org', 'diamond.debian.org' ],
- [ 'denis.debian.org', 'orff.debian.org' ]
+ [ 'denis.debian.org', 'orff.debian.org' ],
+ [ 'denis.debian.org', 'geo1.debian.org' ],
+ [ 'denis.debian.org', 'geo2.debian.org' ],
+ [ 'denis.debian.org', 'geo3.debian.org' ]
]
lines = []