]> ToastFreeware Gitweb - toast/tdyndns.git/blobdiff - cgi-bin/dyndns.py
Now in both scripts only fqdn are allowed.
[toast/tdyndns.git] / cgi-bin / dyndns.py
index 417c27a2c9981681117659a5ee8c214afaa52d63..1a074b29994e6c024bbef5cfb1cfdab16c87153f 100755 (executable)
@@ -13,7 +13,6 @@ import ipaddr
 
 # Configuration
 PASSWORD = 'hygCithOrs5'
-ZONE = '.dyn.colgarra.priv.at'
 DEBUG = False
 
 
@@ -134,8 +133,6 @@ try:
 
        # strip zone
        hostname = hostname.strip()
-       if hostname.endswith(ZONE):
-               hostname = hostname[:-len(ZONE)]
 
        # check offline
        if offline is None or offline.lower() == 'no':