mirror of
https://github.com/qdm12/ddns-updater.git
synced 2026-06-05 06:41:54 -04:00
Feature request: ... Add FreeDNS #100
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @kclute on GitHub (Feb 15, 2021).
Originally assigned to: @qdm12 on GitHub.
What's the feature? Possibly add the DDNS FreeDNS
Extra information? https://freedns.afraid.org
@qdm12 commented on GitHub (Feb 15, 2021):
In their example
curl https://sync.afraid.org/u/CyTXMbtq5cPnLjEg5vKHTPDE/,CyTXMbtq5cPnLjEg5vKHTPDEis your token right? Or should I call it username? Thanks!@qdm12 commented on GitHub (Feb 15, 2021):
Maybe you can test the image
qmcgaw/ddns-updater:freednswith this documentation to save me some time 😉 I called thatCyTXMbtq5cPnLjEg5vKHTPDEasidbut let me know if you think it should be something else.@kclute commented on GitHub (Feb 17, 2021):
sorry for the repeat if you already saw my email..
Tried to use
:freednsand I get the following errror:I am probably setting the config.json up incorrectly since I am not sure what you want for all the fields. I tried several different values but always got the same error. And as expected if I use the :latest version it complains about not having "freedns" as a provider.
I use the recommended method of Randomized Update Token and the only required field is the token/id, filled host and domain with my info for identification purpose only. i.e. If my ddns was my-host-name.any-domain.com
command
http://sync.afraid.org/u/CyTXMbtq5cPnLjEg5vKHTPDE/ # token is fake :)
listed supported update styles, I have only used first so unable to help on others
Randomized UpdateToken | Default option, simple, secure, my personal favorite.
Username and Password, inline | Username and password as URI arguments, rather then the HTTP authentication
Username and Password | Uses HTTP authentication, if you'd rather use a username/password,
some routers like to implement this method or can be most easily adapted to this method
/nic/update | Uses HTTP authentication, I've seen update attempts like these hitting the server.
@qdm12 commented on GitHub (Feb 18, 2021):
Nope you're not! It's just docker images built from branches are only built for amd64 CPUs, let me fix that to include all architectures (ARM etc.). It's building now (wait for the green tick just above this comment).
I will change the
idfield totokenthen. The program needs thehostanddomainto DNS resolve them periodically and also to display them in the UI. And yes let's stick to theRandomized UpdateTokenfor now, adding more options doesn't really add any benefit.@kclute commented on GitHub (Feb 19, 2021):
Sorry for not including the OS in original message containing error. I am using arm64, raspberry OS 64bit.
@qdm12 commented on GitHub (Feb 19, 2021):
It's rebuilt you can try pulling it again and it will pull for your arch. Also use token instead of id.
@kclute commented on GitHub (Feb 19, 2021):
I receive this error.
Building with native build. Learn about native build in Compose here: https://docs.docker.com/go/compose-native-build/
Pulling ddns-updater (qmcgaw/ddns-updater:freedns)...
freedns: Pulling from qmcgaw/ddns-updater
ERROR: no matching manifest for linux/arm64/v8 in the manifest list entries
@qdm12 commented on GitHub (Feb 20, 2021):
Ah! I added armv6 and armv7, but forgot about arm64! It should now be available to pull, sorry about that 😉 (if it's not wait for the build)
@kclute commented on GitHub (Feb 20, 2021):
Looks like this build worked. Thank you for all your work.
@qdm12 commented on GitHub (Feb 20, 2021):
So it's working fine? Can I merge that in the main code and latest image? Thanks!
@kclute commented on GitHub (Feb 20, 2021):
Far as I can tell it is working with no errors in the log. I changed my freedns ip to my phone's ip so it would have to reset it. It did. So in my limited test it worked, so yeah go ahead and merge it. Not sure if you are interested but you can add your app on their site. https://freedns.afraid.org/scripts/freedns.clients.php
@qdm12 commented on GitHub (Feb 22, 2021):
Cool 🎉 I merged it into the base
qmcgaw/ddns-updaterimage.