This commit is contained in:
mwiegand 2021-07-10 13:50:35 +02:00
parent ba3fa6b54d
commit ef5661a99a
2 changed files with 3 additions and 2 deletions

View file

@ -3,8 +3,8 @@ def column_width(column, table):
return max(map(lambda row: len(row[column]), table)) if table else 0
%>\
$TTL 600
@ IN SOA ns.sublimity.de. admin.sublimity.de. (
2021070820 ;Serial
@ IN SOA ${hostname}. admin.${hostname}. (
2021070821 ;Serial
600 ;Refresh
300 ;Retry
1209600 ;Expire

View file

@ -129,6 +129,7 @@ for view in views:
lambda record: use_record(record, records, view['name']),
records
)),
'hostname': node.metadata.get('bind/hostname'),
},
'needs': [
f"directory:/var/lib/bind/{view['name']}",