(Grav GitSync) Automatic Commit from tanshu
This commit is contained in:
parent
1dacf302c0
commit
43bc5bff3f
@ -39,7 +39,7 @@ Create the following script with name `TanDNS` and the following permissions `wr
|
|||||||
# The update URL. Note the "\3F" is hex for question mark (?). Required since ? is a special character in commands.
|
# The update URL. Note the "\3F" is hex for question mark (?). Required since ? is a special character in commands.
|
||||||
:local url "http://bifrost.tanshu.com/update\3Fdomain=$host"
|
:local url "http://bifrost.tanshu.com/update\3Fdomain=$host"
|
||||||
:log info "TanDNS: Sending update for $host"
|
:log info "TanDNS: Sending update for $host"
|
||||||
/tool fetch url=$url user=$user password=$pass mode=http dst-path=("TanDNSupdate-" . $host . ".txt")
|
/tool fetch url=$url user=$user password=$pass mode=http keep-result=no
|
||||||
:log info "TanDNS: Host $host updated on TanDNS with IP $currentIP"
|
:log info "TanDNS: Host $host updated on TanDNS with IP $currentIP"
|
||||||
} else={
|
} else={
|
||||||
:log info "TanDNS: Previous IP $previousIP and current IP equal, no update need"
|
:log info "TanDNS: Previous IP $previousIP and current IP equal, no update need"
|
||||||
|
Loading…
Reference in New Issue
Block a user