From d37cb4800403bbdf6b0c3da61ade5ef1ca4a9d69 Mon Sep 17 00:00:00 2001 From: Kale Date: Wed, 18 Aug 2021 02:57:42 -0700 Subject: [PATCH] i changed my mind so i return block all subdomain --- maker_rpz.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/maker_rpz.py b/maker_rpz.py index 0e6e29a..0d5cf37 100644 --- a/maker_rpz.py +++ b/maker_rpz.py @@ -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() \ No newline at end of file