resolve domains directly against dyn nameserver (instead of system resolver)
[dyn-nsupdate.git] / server-scripts / update
index a7535cea84be8ecde2623f483b8d1fb358659f94..183f2dbd0c1c8a0af5e830216c6ee7199139323f 100755 (executable)
@@ -57,9 +57,9 @@ if p.returncode or stderr or stdout:
     if stdout: print stdout
     if stderr: print stderr
 else:
     if stdout: print stdout
     if stderr: print stderr
 else:
-    print "good",
+    out = "good"
     if ip is not None:
     if ip is not None:
-        print ip,
+        out += " "+ip
     if ipv6 is not None:
     if ipv6 is not None:
-        print ipv6,
-    print
+        out += " "+ipv6
+    print out