This commit is contained in:
mwiegand 2021-06-26 14:47:16 +02:00
parent 3a04293007
commit 4871986ea7
5 changed files with 14 additions and 3 deletions

View file

@ -5,7 +5,7 @@ def column_width(column, table):
$TTL 600 $TTL 600
@ IN SOA ns.sublimity.de. admin.sublimity.de. ( @ IN SOA ns.sublimity.de. admin.sublimity.de. (
2020080302 ;Serial 2020080302 ;Serial
600 ;Refresh 600 ;Refresh
300 ;Retry 300 ;Retry
1209600 ;Expire 1209600 ;Expire
300 ;Negative response caching TTL 300 ;Negative response caching TTL

View file

@ -1,6 +1,7 @@
% for view in views: % for view in views:
view "${view['name']}" { view "${view['name']}" {
match-clients {${' '.join(f'{e}; ' for e in view['acl'])}}; match-clients {${' '.join(f'{e}; ' for e in view['acl'])}};
recursion yes;
% for zone in zones: % for zone in zones:
zone "${zone}" { zone "${zone}" {
type master; type master;

View file

@ -2,6 +2,6 @@ options {
directory "/var/cache/bind"; directory "/var/cache/bind";
dnssec-validation auto; dnssec-validation auto;
listen-on-v6 { any; }; listen-on-v6 { any; };
max-cache-size 20%; max-cache-size 30%;
querylog yes; querylog yes;
}; };

View file

@ -23,11 +23,20 @@
'sha256': '0d11d87ce60d5d98e22fc52f2c8c6ba2b54b14f9c26c767a46bf102c381ad128', 'sha256': '0d11d87ce60d5d98e22fc52f2c8c6ba2b54b14f9c26c767a46bf102c381ad128',
'domain': 'git.sublimity.de', 'domain': 'git.sublimity.de',
}, },
'users': {
'root': {
'shell': '/usr/bin/zsh',
},
},
'wireguard': { 'wireguard': {
# iptables -t nat -A POSTROUTING -o enp1s0f0 -j MASQUERADE # iptables -t nat -A POSTROUTING -o enp1s0f0 -j MASQUERADE
'my_ip': '172.19.136.1/22', 'my_ip': '172.19.136.1/22',
'peers': { 'peers': {
'htz.mails': {}, 'htz.mails': {
'route': [
'10.0.10.0/24',
],
},
}, },
}, },
}, },

View file

@ -1,4 +1,5 @@
{ {
'dummy': True,
'groups': [ 'groups': [
'debian-10', 'debian-10',
], ],