too much cache time so i reduce this by 7:59:30 Hours

This commit is contained in:
Kale 2021-08-16 08:11:08 -07:00
parent a4c6674b2f
commit 00b676e8d0
No known key found for this signature in database
GPG Key ID: F8A6CE83F1274467

View File

@ -24,9 +24,9 @@ def RPZbuilding(excluded,incoming,output):
f.write('; Format : RPZ\n')
f.write('; Licenses : MIT\n')
f.write('; Compiled Date : ' + str(date) +'\n\n')
f.write('$TTL 12h\n')
f.write('$TTL 30\n')
f.write('@ IN SOA localhost. root.localhost. (1 6h 1h 1w 2h)\n')
f.write(' IN NS localhost.\n\n')
f.write(' NS localhost.\n\n')
for line in lines:
if line.strip() and not line in exclude and not line.startswith(';'):
f.write('\n'.join([line + ' CNAME .\n'])) and f.write('\n'.join(['*.'+line+' CNAME .\n']))