summaryrefslogtreecommitdiff
path: root/ddns-status.php
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2020-02-21 23:35:28 +0100
committerErich Eckner <git@eckner.net>2020-02-21 23:35:28 +0100
commit9ac0cdfc639288dcb35b1b0e1b93ee2a84b7d4dd (patch)
treea92aed56676c0cb1677ce4e4f4980bdb771047e0 /ddns-status.php
parent35487605f4ec810d706db30311fa0d5cc75c741e (diff)
downloadddns-9ac0cdfc639288dcb35b1b0e1b93ee2a84b7d4dd.tar.xz
Revert "ddns-status.php: dig should query port 5353, too"
This reverts commit 0774c912377e293e5ddf38dc9de40e51418bf7bc.
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 242f07f..2e7c38a 100644
--- a/ddns-status.php
+++ b/ddns-status.php
@@ -8,7 +8,7 @@ function die_http($error, $message, $extra_message) {
die();
}
-$pin = popen('dig -p5353 @127.0.0.1 ddns.eckner.net AXFR', 'r');
+$pin = popen('dig @127.0.0.1 ddns.eckner.net AXFR', 'r');
if (!$pin)
die_http(500, 'Internal Server Error', 'Failed to get Zone.');