Help: failing to get ipv6 address #137

Closed
opened 2025-11-20 04:20:46 -05:00 by saavagebueno · 1 comment
Owner

Originally created by @proohit on GitHub (Sep 7, 2021).

TLDR: Can't get to resolve ipv6 address from dns ip provider which fails to update DDNS entry.

Logs:

2021/09/07 17:30:50 ERROR dial udp6 [2001:4860:4802:32::a]:53: connect: cannot assign requested address
2021/09/07 17:30:50 WARN obtaining ipv6 address: try 3 of 3: dial udp6 [2001:4860:4802:32::a]:53: connect: cannot assign requested address
2021/09/07 17:30:50 WARN obtaining ipv6 address: try 2 of 3: Get "https://api6.ipify.org": dial tcp [2607:f2d8:4010:c::2]:443: connect: cannot assign requested address
2021/09/07 17:30:50 WARN obtaining ipv6 address: try 1 of 3: dial udp6 [2606:4700:4700::1001]:53: connect: cannot assign requested address
2021/09/07 17:30:50 INFO http server: listening on :8000
2021/09/07 17:30:50 INFO healthcheck server: listening on 127.0.0.1:9999
2021/09/07 17:30:50 INFO backup: disabled
2021/09/07 17:30:50 INFO Reading history from database: domain **** host @
2021/09/07 17:30:50 INFO Reading history from database: domain **** host @
2021/09/07 17:30:50 INFO Found 2 settings to update records

wget via ssh (not docker) returns the correct ip:

$ wget -qO- https://api6.ipify.org
2a02:XXXX:XXXXXX

wget via docker fails to get through

$ sudo docker run -it --rm alpine wget -O- https://api6.ipify.org
Connecting to api6.ipify.org ([2607:f2d8:4010:c::2]:443)
wget: can't connect to remote host: Address not available

any ideas why?

Host OS: Synology DSM 7

Originally created by @proohit on GitHub (Sep 7, 2021). **TLDR**: Can't get to resolve ipv6 address from dns ip provider which fails to update DDNS entry. Logs: ```log 2021/09/07 17:30:50 ERROR dial udp6 [2001:4860:4802:32::a]:53: connect: cannot assign requested address 2021/09/07 17:30:50 WARN obtaining ipv6 address: try 3 of 3: dial udp6 [2001:4860:4802:32::a]:53: connect: cannot assign requested address 2021/09/07 17:30:50 WARN obtaining ipv6 address: try 2 of 3: Get "https://api6.ipify.org": dial tcp [2607:f2d8:4010:c::2]:443: connect: cannot assign requested address 2021/09/07 17:30:50 WARN obtaining ipv6 address: try 1 of 3: dial udp6 [2606:4700:4700::1001]:53: connect: cannot assign requested address 2021/09/07 17:30:50 INFO http server: listening on :8000 2021/09/07 17:30:50 INFO healthcheck server: listening on 127.0.0.1:9999 2021/09/07 17:30:50 INFO backup: disabled 2021/09/07 17:30:50 INFO Reading history from database: domain **** host @ 2021/09/07 17:30:50 INFO Reading history from database: domain **** host @ 2021/09/07 17:30:50 INFO Found 2 settings to update records ``` wget via ssh (not docker) returns the correct ip: ```bash $ wget -qO- https://api6.ipify.org 2a02:XXXX:XXXXXX ``` wget via docker fails to get through ```bash $ sudo docker run -it --rm alpine wget -O- https://api6.ipify.org Connecting to api6.ipify.org ([2607:f2d8:4010:c::2]:443) wget: can't connect to remote host: Address not available ``` any ideas why? Host OS: Synology DSM 7
Author
Owner

@qdm12 commented on GitHub (Sep 7, 2021):

This is because you need to enable IPv6 for Docker, see https://docs.docker.com/config/daemon/ipv6/

@qdm12 commented on GitHub (Sep 7, 2021): This is because you need to enable IPv6 for Docker, see https://docs.docker.com/config/daemon/ipv6/
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/ddns-updater#137