implement v2 API, fixes #5

This commit is contained in:
troyengel 2017-09-16 10:22:07 -05:00
parent 414218468f
commit e35aa941e1
4 changed files with 34 additions and 22 deletions

View file

@ -14,11 +14,11 @@
# This is the unique string for the dynamic DNS entry to update; visit
# http://freedns.afraid.org/dynamic/ - next to the DNS entries towards
# the bottom is a link "Direct URL"; copy that and extract the string
# after the '...update.php?' part and put here.
# https://freedns.afraid.org/dynamic/v2/ - next to the DNS entries towards
# the bottom is a link to sync.afraid.org; copy that and extract the string
# after the '.../u/' part and put here.
#
# Example: DDNS_KEY=9C4yjq3kaekkYNbYsKRqcosTmouMYbfVMLkJtR==
# Example: DDNS_KEY=ZIfSWnXKuDqMpNEsTXBA852
DDNS_KEY=
# Which URL to use to get an IP - the expectation is output from this