X-Git-Url: https://git.ralfj.de/dyn-nsupdate.git/blobdiff_plain/9ea63288e65a4da36f902d49d534db12cbf0c520..df4a93717c9081fd96f465e98b09b7e875433f12:/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