dstapp / docker-ddns

Easy-to-deploy dynamic DNS with Docker, Go and Bind9
MIT License
654 stars 156 forks source link

nic update lacking myipv6 #46

Open gmkey opened 4 years ago

gmkey commented 4 years ago

Anyone able to help me with the following? The dyn api states the following for the nic update:

http://api.dynu.com/nic/update?hostname=[HOSTNAME]&myip=[IP ADDRESS]&myipv6=[IPv6 ADDRESS]&password=[PASSWORD or MD5(PASSWORD)

I'd like to ensure that my fritzbox is able to update both my ip address and my ipv6 ip address.

unfortunately my go knowledge is lacking.

Golit commented 4 years ago

As stated in the https://help.dyn.com/remote-access-api/perform-update/ documentation the ip address can be seperated by commas. This will be supported with the pull request #59.

For now you can create two dyndns-requests seperated by space. See https://service.avm.de/help/en/FRITZ-Box-Fon-WLAN-7490/018/hilfe_dyndns.

For example: dyndns.example.com/nic/update?hostname=<domain>&myip=<ipaddr>&password=<pass> dyndns.example.com/nic/update?hostname=<domain>&myip=<ip6addr>&password=<pass>

Or with #59 merged: dyndns.example.com/nic/update?hostname=<domain>&myip=<ipaddr>,<ip6addr>&password=<pass>