Change default config file location: /var/lib/named -> /var/lib/bind
[dyn-nsupdate.git] / server-scripts / update
index 3d6331eacc9f52187839aa20e9b40d7a7f073d56..c45df300b148fb0c40c4428a7c051d59c73478c2 100755 (executable)
@@ -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