Change endpoint url, updated CONTROL
This commit is contained in:
parent
db876aaa79
commit
5b43a77efa
2 changed files with 2 additions and 1 deletions
|
|
@ -6,4 +6,5 @@ Architecture: all
|
|||
Essential: no
|
||||
Installed-Size: 16
|
||||
Maintainer: Jonathan Sélea
|
||||
Depends-On: curl
|
||||
Description: Tool for managing Dynamic DNS toghether with FreeDNS.linux.pizza
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ set -e
|
|||
|
||||
|
||||
# DO NOT MODIFY #
|
||||
IP="$(curl --connect-timeout 10 -s ipv4.is || curl --connect-timeout 10 -s ifconfig.me)"
|
||||
IP="$(curl --connect-timeout 10 -s ipv4.is || curl --connect-timeout 10 -s ipv4.is)"
|
||||
#IP="$(curl --config /etc/lp-dyndns/curlrc)"
|
||||
CURRENTIP="$(dig ${DOMAIN} +short)"
|
||||
APIURL="https://freedns.linux.pizza/api/v1/remote/updatepw?record=${RECORDID}&password=${PASSWORD}&content=${IP}"
|
||||
|
|
|
|||
Loading…
Reference in a new issue