mirror of
https://github.com/qdm12/ddns-updater.git
synced 2026-08-02 18:48:49 -04:00
Help: The DDNS updater can't get public ip and still reportting error. #77
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 @code-moritz on GitHub (Nov 21, 2020).
TLDR: Describe your issue in a one liner here
Is this urgent?
What DNS service provider(s) are you using?
What's the version of the program?
See the line at the top of your logs
What are you using to run the container?
Extra information
Logs:
Configuration file:
Host OS:
CentOS 8 64bit
@qdm12 commented on GitHub (Nov 21, 2020):
That's coming from the json persistent file, there is probably a bad value in there for an IP address. You can try removing updates.json and it should work again.
@qdm12 commented on GitHub (Nov 21, 2020):
Please let me know if you have manually modified it or if some bad IP address value was introduced programmatically so I could fix it. Thanks!
@code-moritz commented on GitHub (Nov 23, 2020):
I'am already remove the updates.json file , but the ddns client is still can't work normal.
The fllowing logs is the latest running info:
@qdm12 commented on GitHub (Nov 23, 2020):
I think the container just doesn't have connectivity to Internet. Are you running some kind of internal firewall?
@code-moritz commented on GitHub (Nov 23, 2020):
I'am not sure. my host os --- centos can access internet normal.
Should i open some ports or other configure with docker firewall?
@qdm12 commented on GitHub (Nov 23, 2020):
Maybe the DNS
1.1.1.1it's using to resolve domain names is blocked on your network, I'll check my code this evening so that it uses your DNS and not Cloudflare one.You can try with
to see if it's actually blocked.
@code-moritz commented on GitHub (Nov 23, 2020):
[root@localhost containers]# docker run -it --rm --dns 1.1.1.1 alpine:3.12 wget -O- https://ipinfo.io
Unable to find image 'alpine:3.12' locally
3.12: Pulling from library/alpine
188c0c94c7c5: Pull complete
Digest: sha256:c0e9560cda118f9ec63ddefb4a173a2b2a0347082d7dff7dc14272e7841a5b5a
Status: Downloaded newer image for alpine:3.12
wget: bad address 'ipinfo.io'
@qdm12 commented on GitHub (Nov 23, 2020):
Yes, it looks blocked. If you try without
--dns 1.1.1.1I guess it works right? Are you blocking port 53 udp outbound? Or could be your ISP/government. Anyway, I'll make the change, at least so that it's configurable.@qdm12 commented on GitHub (Nov 25, 2020):
Hello there, can you try pulling
:latestand try again? I'm not sure why it uses the1.1.1.1DNS as it's not really enforced as far as I know. If this doesn't work try adding--dns 8.8.8.8to your run command so it uses Google's DNS for example instead of1.1.1.1.@qdm12 commented on GitHub (Dec 9, 2020):
That seems like a network issue on your side 😕 I cannot find anywhere something specifying the DNS
1.1.1.1, at least in the current:latestimage. Maybe try repulling the image as suggested above. I'll close the issue for now but feel free to comment back.