diff --git a/playbooks/files/bind/conf b/playbooks/files/bind/conf index 37a2dd2..8e30d0b 100644 --- a/playbooks/files/bind/conf +++ b/playbooks/files/bind/conf @@ -1,11 +1,33 @@ +// +// Do any local configuration here +// + +// Consider adding the 1918 zones here, if they are not used in your +// organization +//include "/etc/bind/zones.rfc1918"; + zone "golem.linux.it" { - type master; - file "/etc/bind/db.golem.linux.it"; - allow-transfer { - 213.254.12.144/28; // Tutta ILS - 2001:1418:10:5::0/64; // Tutta (?) ILS IPv6 (?) - 2001:4b78:2000::/48; // Tutto Marco d'Itri (BOFH) - 85.94.204.144/28; // Tutto Marco d'Itri (BOFH) - 2001:470:c844::/48; // GOLEM network - }; + type master; + file "/etc/bind/zones/db.golem.linux.it"; + allow-transfer { + 213.254.12.144/28; // Tutta ILS + 2001:1418:10:5::0/64; // Tutta (?) ILS IPv6 (?) + 2001:4b78:2000::/48; // Tutto Marco d'Itri (BOFH) + 85.94.204.144/28; // Tutto Marco d'Itri (BOFH) + 2001:470:c844::/48; // GOLEM network + 51.255.204.171/32; // ns.giomba.it + 90.147.189.115/32; // ns.firenze.linux.it + }; +}; + +zone "firenze.linux.it" { + type slave; + file "/var/cache/bind/db.firenze.golem.linux.it"; + masters { 90.147.189.115; }; +}; + +zone "giomba.it" { + type slave; + file "/var/cache/bind/db.giomba.it"; + masters { 51.255.204.171; }; }; diff --git a/playbooks/files/bind/zones b/playbooks/files/bind/zones index b3528f1..c0456ed 100644 --- a/playbooks/files/bind/zones +++ b/playbooks/files/bind/zones @@ -6,17 +6,18 @@ ; otherwise new records will not be retrieved by other DNS servers, ; and they will not propagate. $TTL 3600 -@ IN SOA vostok.giomba.it. info.golem.linux.it. ( - 2024032600 ; Serial - 3600 ; Refresh +@ IN SOA ns.golem.linux.it. info.golem.linux.it. ( + 2024060302 ; Serial + 14400 ; Refresh 86400 ; Retry - 86400 ; Expire + 604800 ; Expire 86400 ) ; Negative Cache TTL ; name servers - NS records - IN NS vostok.giomba.it. + IN NS ns.golem.linux.it. IN NS ns.linux.it. - IN NS ns.giomba.it. + IN NS ns.giomba.it. + IN NS ns.firenze.linux.it. ; dynamic name server for computers in Officina andromeda.officina.golem.linux.it. IN AAAA 2001:470:c844:200:2e0:81ff:fed0:ec03 @@ -31,7 +32,7 @@ golem.linux.it. IN A 152.228.140.73 ; hosts - A records ns.golem.linux.it. IN A 152.228.140.73 -ns.golem.linux.it. IN AAAA 2001:470:c844::2 +ns.golem.linux.it. IN AAAA 2001:470:c844::11 ; VPS atena IN A 152.228.140.73 @@ -40,7 +41,7 @@ ipv4.atena IN A 152.228.140.73 ipv6.atena IN AAAA 2001:41d0:404:200::947f ; use ipv4 or ipv6 to only get the ipv4 or ipv6 address -- needed for some buggy apps ipv4.golem.linux.it. IN A 152.228.140.73 -ipv6.golem.linux.it. IN AAAA 2001:470:c844::2 +ipv6.golem.linux.it. IN AAAA 2001:470:c844::11 ; "Gestionale dei soci", migrated on VPS argento IN CNAME atena @@ -90,4 +91,4 @@ limortouch.officina IN AAAA 2001:470:c844:200:167e:8920:7567:a49b spookyh-vm0.soci IN AAAA 2001:470:c844:200:3467:6bff:fe6b:1045 ; tests -comment-0 IN TXT "There has been an error in the authoritative DNS for years and we only discover it now?" +comment-0 IN TXT "Serata di test 30 maggio 2024"