summaryrefslogtreecommitdiff
path: root/ddns-status.php
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2020-02-21 09:58:39 +0100
committerErich Eckner <git@eckner.net>2020-02-21 09:58:39 +0100
commit0774c912377e293e5ddf38dc9de40e51418bf7bc (patch)
tree4a69f85133aab68b9a3ac8ac7bf98ab7c0a990e3 /ddns-status.php
parentd8a6f4b092803135c20c916712f3ff276614bc1a (diff)
downloadddns-0774c912377e293e5ddf38dc9de40e51418bf7bc.tar.xz
ddns-status.php: dig should query port 5353, too
Diffstat (limited to 'ddns-status.php')
-rw-r--r--ddns-status.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/ddns-status.php b/ddns-status.php
index 2e7c38a..242f07f 100644
--- a/ddns-status.php
+++ b/ddns-status.php
@@ -8,7 +8,7 @@ function die_http($error, $message, $extra_message) {
die();
}
-$pin = popen('dig @127.0.0.1 ddns.eckner.net AXFR', 'r');
+$pin = popen('dig -p5353 @127.0.0.1 ddns.eckner.net AXFR', 'r');
if (!$pin)
die_http(500, 'Internal Server Error', 'Failed to get Zone.');