summaryrefslogtreecommitdiff
path: root/ddns-status.php
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2020-03-05 13:19:00 +0100
committerErich Eckner <git@eckner.net>2020-03-05 13:19:00 +0100
commitb265b4fe49812f42ad6c0cf9f89156a7151cfe8d (patch)
treea20bfac7bca4055851d709353ce0ff2d687e73c1 /ddns-status.php
parentc8599d774c8afe1c791600c7f95ca05f949f4897 (diff)
downloadddns-b265b4fe49812f42ad6c0cf9f89156a7151cfe8d.tar.xz
ddns-status.php: sort to make output stable
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..5abfa3f 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 @127.0.0.1 ddns.eckner.net AXFR | sort -k4,4', 'r');
if (!$pin)
die_http(500, 'Internal Server Error', 'Failed to get Zone.');