Merge branch 'bind/first-commit'

This commit is contained in:
Lan Quil 2024-06-18 23:27:08 +02:00
commit e7154ceb2d
2 changed files with 41 additions and 18 deletions

View File

@ -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" { zone "golem.linux.it" {
type master; type master;
file "/etc/bind/db.golem.linux.it"; file "/etc/bind/zones/db.golem.linux.it";
allow-transfer { allow-transfer {
213.254.12.144/28; // Tutta ILS 213.254.12.144/28; // Tutta ILS
2001:1418:10:5::0/64; // Tutta (?) ILS IPv6 (?) 2001:1418:10:5::0/64; // Tutta (?) ILS IPv6 (?)
2001:4b78:2000::/48; // Tutto Marco d'Itri (BOFH) 2001:4b78:2000::/48; // Tutto Marco d'Itri (BOFH)
85.94.204.144/28; // Tutto Marco d'Itri (BOFH) 85.94.204.144/28; // Tutto Marco d'Itri (BOFH)
2001:470:c844::/48; // GOLEM network 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; };
}; };

View File

@ -6,17 +6,18 @@
; otherwise new records will not be retrieved by other DNS servers, ; otherwise new records will not be retrieved by other DNS servers,
; and they will not propagate. ; and they will not propagate.
$TTL 3600 $TTL 3600
@ IN SOA vostok.giomba.it. info.golem.linux.it. ( @ IN SOA ns.golem.linux.it. info.golem.linux.it. (
2024032600 ; Serial 2024060302 ; Serial
3600 ; Refresh 14400 ; Refresh
86400 ; Retry 86400 ; Retry
86400 ; Expire 604800 ; Expire
86400 ) ; Negative Cache TTL 86400 ) ; Negative Cache TTL
; name servers - NS records ; name servers - NS records
IN NS vostok.giomba.it. IN NS ns.golem.linux.it.
IN NS ns.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 ; dynamic name server for computers in Officina
andromeda.officina.golem.linux.it. IN AAAA 2001:470:c844:200:2e0:81ff:fed0:ec03 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 ; hosts - A records
ns.golem.linux.it. IN A 152.228.140.73 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 ; VPS
atena IN A 152.228.140.73 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 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 ; 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 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 ; "Gestionale dei soci", migrated on VPS
argento IN CNAME atena 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 spookyh-vm0.soci IN AAAA 2001:470:c844:200:3467:6bff:fe6b:1045
; tests ; 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"