Comments (11)
The Docker healthcheck basically runs a DNS lookup of the hostname, on this line.
Is it a new hostname with a new IP address? If so, it might work in a few minutes so that it has time to be published on your DNS server (ISP or i.e. Google/Cloudflare etc.).
Otherwise, can you try
docker run -it --rm alpine:3.10 nslookup <your-domain>
and report back the (redact your IP address etc.) output?
from ddns-updater.
nslookup: can't resolve '(null)': Name does not resolve nslookup: can't resolve 'domain.me': Name does not resolve
I mean my domain isn't redirecting anything. It's not supposed to do so. I only use the wildcards subdomain for my services in docker with traefik.
from ddns-updater.
Can you try with https://mxtoolbox.com/DNSLookup just to be sure it's not a LAN DNS server issue?
You can try by setting to i.e. 127.0.0.1
(localhost) on the Cloudflare website, then restart the ddns-updater container (or wait 5 minutes) and see if the IP address is changed on their website. If it is, then it may be a Cloudflare issue (I had the case with Namecheap not publishing my updated record for 6 hours).
from ddns-updater.
Like I said I have no dns record for the domain itself. Only for the * subdomain wildcard. but the healthcheck checks for the domain. Not sure if I'm correct here.
Also the healthcheck with the IP (it's showing an LAN ip anyways)
{"node_id": 0, "error": "lookup domain.me on 192.168.178.1:53: no such host"}
from ddns-updater.
Hm maybe you need to have an A record for host @
as well as host *
(wildcard). I had to this on Namecheap to have a wildcard record. I personally don't use Cloudflare so I am not sure, and I tend to not use wildcards either, so I might not be the best person to ask 😆
But if you add a record for this same domain with the host @
the healthcheck will not complain anymore I guess. Or you can use subdomains instead of wildcard (what I do, it's better security wise as well).
from ddns-updater.
How does it improve the security ?
from ddns-updater.
Actually I think if you use Traefik you need a wildcard record not to go crazy! I have seen bots trying to access strange subdomains in my logs so I prefer to keep it restricted to what I need. On the other hand, having a wildcard record may make it harder for bots to know what subdomains you actually use which is nice.
Anyway, from the Namecheap website
NOTE: A wildcard DNS record does not cover a root domain (e.g. yourdomain.tld), thus you will need to create a record for @ host additionally.
However my code might be wrong, would you mind trying resolving a.yourdomain.com? That should work with the wildcard.
docker run -it --rm alpine:3.10 nslookup a.<your-domain>
from ddns-updater.
it resolved something. seems to work with subdomain just fine. I am using Namecheap but my DNS is cloudflare.
healthcheck seems to make no sense if I don't use my root domain.
from ddns-updater.
I just changed my code, you are right. It now tries to resolve any.domain.tld
instead of domain.tld
if you use a wildcard record. So the Failure message (in the UI, logs, healthcheck.. and Gotify) should not show anymore. Thanks again for pointing this out.
from ddns-updater.
thank you !
from ddns-updater.
It's still building the Docker image on Travis. It will probably take another 20-30 minutes (compiling for all CPU architectures is slow...). You can then try restarting the container with the latest image you can pull with
docker pull qmcgaw/ddns-updater
from ddns-updater.
Related Issues (20)
- Bug: For "Host", pre-entered text and help seem wrong and misleading HOT 1
- Feature request: add "SHOUTRRR_ADDRESSES_FILE"
- Porkbun Unable to Update IP - HTTP Error Code 400 HOT 6
- 你好给个可以使用的 ddns-updater 的 docker compose文件吧,这个使用不了 HOT 1
- update policy should also be set to "ipv4 and ipv6" additionaly to "ipv4 or ipv6" HOT 1
- Help: Dnspod 401 Authorization Required HOT 2
- Does the healthchecks.io feature recently introduced support self-hosted healthcheck services? HOT 4
- HTTP 400 error in loading app in TrueNas Scale HOT 7
- GCP request is missing required authentication credential HOT 10
- Cloudflare `key "" does not match regex "^[a-zA-Z0-9]+$"` HOT 5
- Could not update ip address on godaddy and error "show HTTP status is not valid: 403: Authenticated user is not allowed access" HOT 8
- Working QNAP Setup HOT 1
- Feature request: Define a start interval for the healthcheck
- IPv6 update failed for No-IP DDNS HOT 1
- Bug: No-Ip ddnskeys support HOT 5
- Bug: Ionos wildcard handling HOT 3
- Bug: Output thousands of lines when WebUI or healthcheck server port been used by another program. HOT 1
- Bug: Self-hosted healthchecks.io does not work with additional paths HOT 3
- name.com IP update sent creates a duplicate entry and does not update the current entry : name.com creating record: bad request sent: Parameter Value Error - Duplicate Record HOT 16
- Request for new DNS provider HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ddns-updater.