diff options
author | Erich Eckner <git@eckner.net> | 2020-03-05 13:19:00 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2020-03-05 13:19:00 +0100 |
commit | b265b4fe49812f42ad6c0cf9f89156a7151cfe8d (patch) | |
tree | a20bfac7bca4055851d709353ce0ff2d687e73c1 /ddns-status.php | |
parent | c8599d774c8afe1c791600c7f95ca05f949f4897 (diff) | |
download | ddns-b265b4fe49812f42ad6c0cf9f89156a7151cfe8d.tar.xz |
ddns-status.php: sort to make output stable
Diffstat (limited to 'ddns-status.php')
-rw-r--r-- | ddns-status.php | 2 |
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.'); |