X-Git-Url: https://git.ralfj.de/dyn-nsupdate.git/blobdiff_plain/7a442b55cec677f59d836f20d242176f2a9533e4..fd7ec51f7295b7364355287ad3593e35986ab7c9:/server-scripts/update diff --git a/server-scripts/update b/server-scripts/update index 3d6331e..c45df30 100755 --- a/server-scripts/update +++ b/server-scripts/update @@ -43,7 +43,7 @@ domain = form["domain"].value password = form["password"].value # run update program -p = subprocess.Popen(["/var/lib/named/dyn-nsupdate", domain, password, ip], stdout=subprocess.PIPE, stderr=subprocess.PIPE) +p = subprocess.Popen(["/var/lib/bind/dyn-nsupdate", domain, password, ip], stdout=subprocess.PIPE, stderr=subprocess.PIPE) (stdout, stderr) = p.communicate() # check what it did