From 550c5bcd6803fa6f21b402941c3d2d607753e6df Mon Sep 17 00:00:00 2001 From: Philipp Spitzer Date: Tue, 25 Mar 2014 23:50:30 +0100 Subject: [PATCH] Now using the new python shell script nsupdate_dyndns --- cgi-bin/dyndns.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/cgi-bin/dyndns.py b/cgi-bin/dyndns.py index 3fe5162..d62ebfc 100755 --- a/cgi-bin/dyndns.py +++ b/cgi-bin/dyndns.py @@ -163,10 +163,9 @@ try: # update bind if offline: - call(['sudo', '/usr/local/bin/nsupdate_dyndns_del', hostname, 'A']) - call(['sudo', '/usr/local/bin/nsupdate_dyndns_del', hostname, 'AAAA']) + call(['sudo', '/usr/local/bin/nsupdate_dyndns', '--delete', hostname]) else: - call(['sudo', '/usr/local/bin/nsupdate_dyndns', hostname, myip, iptype]) + call(['sudo', '/usr/local/bin/nsupdate_dyndns', '--ip', myip, hostname]) # return success print "Content-Type: text/html" -- 2.39.5