mirror of
https://github.com/qdm12/ddns-updater.git
synced 2026-08-02 10:38:41 -04:00
Add DNS http://www.he.net/ provider support #60
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 @marcuslannister on GitHub (Sep 10, 2020).
Originally assigned to: @qdm12 on GitHub.
As title.
@qdm12 commented on GitHub (Sep 14, 2020):
Can you use subdomains, i.e.
blabla.mydomain.comwith he.net? Or just domains (mydomain.com)?@qdm12 commented on GitHub (Sep 14, 2020):
I'm almost done adding it to the code, I'd just need a few small information from you in order to code all the possible error codes (undocumented in their API) in my program. Can you therefore please try the following and send me the log outputs (take care of removing your credentials):
Run a docker container in interactive mode
In the following replace
bla.domain.comby your .. andpasswordby your actual password:And send me the output (if any) for each.
@marcuslannister commented on GitHub (Sep 14, 2020):
good xx.xx.xx.xx
nochg xx.xx.xx.xx
nochg xx.xx.xx.xx
nochg xx.xx.xx.xx
nochg xx.xx.xx.xx
@qdm12 commented on GitHub (Sep 14, 2020):
Can you try running twice
Is the second one giving nochg? Also I presume xx.xx.xx.xx is your ip address right?
And also, can you use subdomains, i.e. blabla.mydomain.com with he.net? Or just domains (mydomain.com)? Thanks!
@marcuslannister commented on GitHub (Sep 14, 2020):
yes, the second one giving nochg, and xx.xx.xx.xx is my ip.
@marcuslannister commented on GitHub (Sep 14, 2020):
sorry, I don't understand these requirements, change the config file?
@qdm12 commented on GitHub (Sep 14, 2020):
As in can you manage A records for mysubdomain.domain.com or are you limited to domain.com and cannot use subdomains with he.net?
@marcuslannister commented on GitHub (Sep 14, 2020):
I can manage A records, and when i run following command
It show badauth, maybe i need to generate a new password.
@marcuslannister commented on GitHub (Sep 14, 2020):
I change the password, now I get nochg xx.xx.xx.xx when I run.
@qdm12 commented on GitHub (Sep 14, 2020):
Oh no, I just mean, can you set the host in your A record (like
*,@ormychoice) for a certain domain? I think so but just wanted to confirm to have clear code.@qdm12 commented on GitHub (Sep 14, 2020):
Hello, I made a pull request for supporting he.net.
This should build a docker image
qmcgaw/ddns-updater:he.net, can you please try running it?Your JSON file should look like
Note that the host
@means the root domain, so it will change the IP forexample.com. Now, I haven't tested it, but you may be able to specify the host as:abcfor example, to target the subdomainabc.domain.com*to be a wildcard, such that it matches any subdomain for that domainIf you know if that is not supported, please let me know and I'll add some additional checks to prevent new users from running into the issue.
If you have any trouble setting it up, feel free to comment. Readme relevant to he.net is here.
Thanks!
@marcuslannister commented on GitHub (Sep 17, 2020):
When I use domain "abc.domain.com" and host "@" is ok.
But when I use domain "domain.com" and host "abc" is failed.
@qdm12 commented on GitHub (Sep 18, 2020):
Hm, do you have an A record with host
abcsetup on he.net? You would probably need to set it up there first in order to be able to update it.@qdm12 commented on GitHub (Sep 19, 2020):
Does it work if you set domain to
abc.domain.comand host to@? I believe the program just assembles them together though so it shouldn't matter.Maybe have a try with
See if that works?
@qdm12 commented on GitHub (Sep 24, 2020):
abc.domain.comwith host@& specify domaindomain.comand hostabc. Please let me know so I can merge this in the main branch/Docker image. Thanks!noipv4because it's not an ipv4?@marcuslannister commented on GitHub (Sep 26, 2020):
sorry for the late replay, it still can not work. you can check the screen shot below.
@marcuslannister commented on GitHub (Sep 26, 2020):
no , i don not use IPv6. I think you can merge this first.
@qdm12 commented on GitHub (Sep 26, 2020):
Can you try in your browser to access https://domain.com:password@dyn.dns.he.net/nic/update?hostname=abc.domain.com see if it works? (and replace values)
@marcuslannister commented on GitHub (Sep 26, 2020):
I try it , it is same, Show "noipv4".
@qdm12 commented on GitHub (Sep 26, 2020):
And does this work?
https://abc.domain.com:password@dyn.dns.he.net/nic/update?hostname=abc.domain.com
(note the abc. at the start)
@marcuslannister commented on GitHub (Sep 29, 2020):
This is ok and show "nochg xx.xx.xx.xx"
@qdm12 commented on GitHub (Sep 29, 2020):
Ah good, thanks! So they need the fully qualified domain name as the http url user field, I didn't know that. I will make the changes tonight and merge it to the
:latestDocker image.@qdm12 commented on GitHub (Sep 29, 2020):
Merged it, you should now be able to pull and use the Docker image
qmcgaw/ddns-updater:Enjoy 👍
@marcuslannister commented on GitHub (Sep 30, 2020):
Thanks.