mirror of
https://github.com/openwrt/packages.git
synced 2025-12-26 11:16:31 +04:00
ddns-scripts: "now-dns.com" service fix
- Add valid responses "good|nochg" so that ddns-script could recognize "badauth" error that comes with http 200 code - Switch url to https scheme. "now-dns.com" always returns 302 redirect to https:// for all plain-text http requests. Since working via default plain-text http is not possible anyway, forcing url to https prevents curl sending unencrypted plain-text credentials via basic auth Signed-off-by: Emil Muratov <gpm@hotplug.ru>
This commit is contained in:
@@ -136,7 +136,7 @@
|
||||
|
||||
"no-ip.pl" "http://[USERNAME]:[PASSWORD]@update.no-ip.pl/?hostname=[DOMAIN]"
|
||||
|
||||
"now-dns.com" "http://[USERNAME]:[PASSWORD]@now-dns.com/update?hostname=[DOMAIN]"
|
||||
"now-dns.com" "https://[USERNAME]:[PASSWORD]@now-dns.com/update?hostname=[DOMAIN]" "good|nochg"
|
||||
|
||||
"nsupdate.info" "http://[USERNAME]:[PASSWORD]@ipv4.nsupdate.info/nic/update?hostname=[DOMAIN]&myip=[IP]" "good|nochg"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user