Closed Fubar7 closed 2 years ago
Just set "provider_ip": false
and that should do it :wink: Sorry for the long delay answering as well.
Although the program uses ip6
instead of ipv6
as the URL query parameter, so let me know if that doesn't work.
Hey @qdm12,
thanks for your response. 😊 I'm glad you are helping me.
Maybe i missunderstand you. In the LogFile you can see i set up two Subdomains.
Subdomain1 with "provider_ip": true
and the other Subdomain2 with "provider_ip": false
.
Both send only the ipv4 adress to DuckDNS.
I tried it anyway to set both Subdomains on "provider_ip": false
but it still sends ipv4 addresses to DuckDns
Although the program uses ip6 instead of ipv6 as the URL query parameter, so let me know if that doesn't work.
What do you mean here? I can't wirte "ip_version": "ip6",
in the config file ?
Ah I know why from the logs:
DEBUG record xxxsubdomain2xxx.duckdns.org is within ban period or cooldown period, skipping update
so your subdomain2 was temporarily banned, and hence no update is done.DEBUG GET https://www.duckdns.org/update?domains=xxxsubdomain1xxx&token=xxxTokenxxx&verbose=true
doesn't have the ipv6
URL query parameter in there since this one uses provider_ip: true
.On the other hand, ERROR mismatching IP address received: 88.130.153.114
is a bit weird since the code should just blindly believe the provider to find our IP correctly instead of double-checking, when provider_ip
is set.
Actually they mention it on duckdns.org, basically using provider_ip: true
only works with ipv4, not ipv6. I updated the duckdns document in 1f9eb467cae1bfcc7e08de1228b5dc2802d7a7bb to mention this.
Let's close this issue for now, but feel free to comment back if you got anything else going wrong. Thanks!
TLDR: I want to update my Ipv6 only to DuckDns. ddns-updater gets the right ipv6 adress in the logs but don't send it to DuckDns. If the Update URL is without an adress, DuckDns try to detected the ipv4 adress. That's my problem. If i understand it correctly the IPv6 should be place in the URL witch send to DuckDns, for example
https://www.duckdns.org/update?domains=xxxsubdomain1xxx&token=xxxTokenxxx&&ipv6=2001:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx&verbose=true&verbose=true
Is this urgent: Yes/No
DNS provider(s) you use: DuckDns
Program version:
Running version latest built on 2022-01-21T13:37:49Z (commit f5b76f2)
What are you using to run the container: docker-compose
Extra information (optional)
Logs:
Configuration file (remove your credentials!):
Host OS: Unraid 6.9.2