1
0
mirror of https://github.com/minoplhy/filters-maker.git synced 2024-12-22 18:18:13 +00:00

i changed my mind so i return block all subdomain

This commit is contained in:
Kale 2021-08-18 02:57:42 -07:00
parent 7ffffcb8f8
commit d37cb48004
No known key found for this signature in database
GPG Key ID: F8A6CE83F1274467

View File

@ -29,7 +29,7 @@ def RPZbuilding(excluded,incoming,output):
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']))
f.write('\n'.join([line + ' CNAME .\n'])) and f.write('\n'.join(['*.' + line + ' CNAME .\n']))
elif line.startswith((';','$','@',' IN')):
f.write('\n'.join([line + '\n']))
f.close()