Update network 'BLKR'.

This commit is contained in:
Christoph 2018-10-14 04:17:47 +02:00
parent 42854dacfb
commit 27de2ec9b6
2 changed files with 56 additions and 9 deletions

View File

@ -23,24 +23,71 @@ options {
auth-nxdomain no; # conform to RFC1035 auth-nxdomain no; # conform to RFC1035
// Security options // Security options
listen-on port 53 { #listen-on port 53 {
127.0.0.1; # 127.0.0.1;
192.168.162.1; # 192.168.162.1;
}; #};
allow-query { allow-query {
127.0.0.1; 127.0.0.1;
172.16.0.0/12; 172.16.0.0/12;
192.168.0.0/16; 192.168.0.0/16;
10.0.0.0/8; 10.0.0.0/8;
fe80::/8;
::1/128;
}; };
allow-recursion { allow-recursion {
127.0.0.1; 127.0.0.1;
172.16.0.0/12; 172.16.0.0/12;
192.168.0.0/16; 192.168.0.0/16;
10.0.0.0/16; 10.0.0.0/16;
fe80::/8;
::1/128;
}; };
allow-transfer { none; }; allow-transfer { none; };
listen-on-v6 { any; }; #listen-on-v6 { any; };
}; };
logging {
channel simple_log {
file "/var/log/named/bind.log" versions 3 size 5m;
//severity warning;
severity info;
print-time yes;
print-severity yes;
print-category yes;
};
channel queries_log {
file "/var/log/named/query.log" versions 10 size 5m;
severity debug;
//severity notice;
print-time yes;
print-severity yes;
print-category no;
};
channel log_zone_transfers {
file "/var/log/named/axfr.log" versions 5 size 2m;
severity info;
print-time yes;
print-severity yes;
print-category yes;
};
category resolver {
queries_log;
};
category queries {
queries_log;
};
category xfer-in {
log_zone_transfers;
};
category xfer-out {
log_zone_transfers;
};
category notify {
log_zone_transfers;
};
category default{
simple_log;
};
};

View File

@ -16,13 +16,13 @@ iface lo inet loopback
auto eth2 auto eth2
iface eth2 inet static iface eth2 inet static
address 172.16.162.254 address 172.16.162.1
network 172.16.162.0 network 172.16.162.0
netmask 255.255.255.0 netmask 255.255.255.0
broadcast 172.16.162.255 broadcast 172.16.162.255
gateway 172.16.162.1 gateway 172.16.162.254
dns-nameservers 127.0.0.1 dns-nameservers 127.0.0.1
dns-search anw-km.netz dns-search blk.netz
#----------------------------- #-----------------------------
@ -38,7 +38,7 @@ iface eth1 inet static
auto eth1:0 auto eth1:0
iface eth1:0 inet static iface eth1:0 inet static
address 192.168.162.53 address 192.168.162.1
network 192.168.162.0 network 192.168.162.0
netmask 255.255.255.0 netmask 255.255.255.0
broadcast 192.168.162.255 broadcast 192.168.162.255