Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue managing wildcard A Records #1012

Open
Vorkosigan76 opened this issue Jan 4, 2025 · 2 comments
Open

Issue managing wildcard A Records #1012

Vorkosigan76 opened this issue Jan 4, 2025 · 2 comments

Comments

@Vorkosigan76
Copy link

In cloudfare, when using a wildcard (*), the update does not work, while it works perfectly with domains.

Untitled

🌐 Detected the IPv4 address xx.xx.xx.xx
😞 Failed to find the zone of *
😞 Failed to send HTTP(S) request to "https://api.cloudflare.com/cdn-cgi/trace": context deadline exceeded
😞 Failed to detect the IPv6 address
💡 If you are using Docker or Kubernetes, IPv6 might need extra setup. Read more at https://github.com/favonia/cloudflare-ddns/blob/main/README.markdown. If your network doesn't support IPv6, you can turn it off by setting IP6_PROVIDER=none
💡 If your network is experiencing high latency, consider increasing DETECTION_TIMEOUT=5s

This is done as per Cloudflare documentation
[https://developers.cloudflare.com/dns/manage-dns-records/reference/wildcard-dns-records/]

@sorker
Copy link

sorker commented Jan 4, 2025

i also get this problem

@favonia
Copy link
Owner

favonia commented Jan 5, 2025

@Vorkosigan76 @sorker Thanks for the report! The Cloudflare documentation assumes the zone is already known or chosen within their UI, but that's not the case for the updater. You need fully qualified domain names (FQDNs) like *.domain.org instead of just * to specify the zone domain.org, making it clear which zone the updater should target. I hope this clarifies things!

PS: You can also use *.sub.domain.org.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants