diff --git a/main.py b/main.py index eb4ce59..2fbf025 100755 --- a/main.py +++ b/main.py @@ -11,7 +11,6 @@ import os path =(os.path.dirname(os.path.abspath(__file__))) - config = ConfigParser() config.read(path+'/config.ini') @@ -326,7 +325,7 @@ def write_dns_reverse_file(api_client): f.write(zone_file_content) zone_v6.append(zone6_name) -api_client = Re2oAPIClient(api_hostname, api_username, api_password, use_tls=True) +api_client = Re2oAPIClient(api_hostname, api_username, api_password, use_tls=False) client_hostname = socket.gethostname().split('.', 1)[0]