This commit is contained in:
Laura Hausmann 2020-04-03 21:34:53 +02:00
parent e6dd0c2e3d
commit f453feecd4
Signed by: zotan
GPG key ID: 5EC1D38FFC321311
2 changed files with 88 additions and 1 deletions

85
fsn1/named/named.conf Normal file
View file

@ -0,0 +1,85 @@
// vim:set ts=4 sw=4 et:
options {
directory "/var/named";
pid-file "/run/named/named.pid";
forwarders { 1.1.1.1; 1.0.0.1; 8.8.8.8; 8.8.4.4; 213.133.100.100; 213.133.99.99; 213.133.98.98; 2a01:4f8:0:1::add:9898; 2a01:4f8:0:1::add:9999; 2a01:4f8:0:1::add:1010; };
dnssec-enable no;
dnssec-validation no;
allow-recursion { ::1; 127.0.0.1; 172.20.177.32/27; fdff:b02d:2ef7::/64; 2a01:4f8:241:f98::/64; 136.243.185.240/29; };
allow-transfer { none; };
allow-update { none; };
version none;
hostname none;
server-id none;
};
zone "zotan.dn42" {
type master;
file "zotan.dn42.zone"; # zone file path
};
zone "localhost" IN {
type master;
file "localhost.zone";
};
zone "32/27.177.20.172.in-addr.arpa" IN {
type master;
file "32_27.177.20.172.in-addr.arpa.zone";
};
zone "0.0.127.in-addr.arpa" IN {
type master;
file "127.0.0.zone";
};
zone "1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.arpa" {
type master;
file "localhost.ip6.zone";
};
zone "dn42" {
type forward;
forwarders { 172.20.0.53; fd42:d42:d42:54::1; };
};
zone "20.172.in-addr.arpa" {
type forward;
forwarders { 172.20.0.53; fd42:d42:d42:54::1; };
};
zone "22.172.in-addr.arpa" {
type forward;
forwarders { 172.20.0.53; fd42:d42:d42:54::1; };
};
zone "23.172.in-addr.arpa" {
type forward;
forwarders { 172.20.0.53; fd42:d42:d42:54::1; };
};
//zone "example.org" IN {
// type slave;
// file "example.zone";
// masters {
// 192.168.1.100;
// };
// allow-query { any; };
// allow-transfer { any; };
//};
//logging {
// channel xfer-log {
// file "/var/log/named.log";
// print-category yes;
// print-severity yes;
// severity info;
// };
// category xfer-in { xfer-log; };
// category xfer-out { xfer-log; };
// category notify { xfer-log; };
//};

View file

@ -13,4 +13,6 @@ scp -r hel1.dn42.zotan.network:/etc/bird hel1/bird2
scp fsn1.dn42.zotan.network:/etc/iptables/ip*tables.rules fsn1/iptables
ggrep -r "PrivateKey " .
scp root@fsn1.dn42.zotan.network:/etc/named.conf fsn1/named
ggrep -r "PrivateKey " .