Move creation of /etc/bind/named.conf.options from ::geodns and ::primary to parent
[mirror/dsa-puppet.git] / modules / named / templates / named.conf.options.erb
index d2f3765..81d35ae 100644 (file)
@@ -37,10 +37,8 @@ options {
   str
 -%>
 
-<% if classes.include?('named::authoritative') or classes.include?('named::geodns') -%>
        dnssec-enable yes;
        dnssec-validation yes;
-<% end -%>
 
        // Defaults are 100 and 10, causing lots and lots of tiny updates.
        // This way, I hope, we'll get fewer (and thus bigger) updates. -- weasel
@@ -82,8 +80,8 @@ masters "easydns-masters" {
 };
 acl "easydns-ACL" {
        // https://cp.easydns.com/manage/domains/secondary/edit.php
-       //64.68.200.91/32;
-       //205.210.42.80/32;
+       64.68.200.91/32;
+       205.210.42.80/32;
        key 82.195.75.91-key ;
 };
 
@@ -104,6 +102,20 @@ acl "dnsnode-ACL" {
        192.36.144.222; // zork-b.sth.dnsnode.net
        192.36.144.218; // zork-c.sth.dnsnode.net
 };
+
+masters "dnsnodeapi-masters" {
+       194.146.105.24; // zorknds-b.sth.dnsnode.net
+       2a01:3f0:0:27::24;
+       194.146.105.25; // zorknds-c.sth.dnsnode.net
+       2a01:3f0:0:28::25;
+};
+acl "dnsnodeapi-ACL" {
+       // 194.146.105.24; // zorknds-b.sth.dnsnode.net
+       // 2a01:3f0:0:27::24;
+       // 194.146.105.25; // zorknds-c.sth.dnsnode.net
+       // 2a01:3f0:0:28::25;
+       key netnod-debian-20171122 ;
+};
 <% end -%>
 
 include "/etc/bind/named.conf.puppet-shared-keys";