Closed kashalls closed 1 month ago
🛎️ @onedr0p @buroa
Sounds like it could be a limitation of unifi not supporting wildcard DNS?
Are you trying something new here or,
Did this work prior to the 0.15.0 changes, or
Did you try create a wildcard cname record with the API only to test?
Sounds like it could be a limitation of unifi not supporting wildcard DNS?
I tried doing it through the API, yes. The response above is what it resulted in. I am pretty sure it is not supported unless it is the primary reason why the cname option is grayed out on the panel.
If that's the case, maybe it's worth putting in the README that wildcard DNS isn't supported?
If that's the case, maybe it's worth putting in the README that wildcard DNS isn't supported?
And just let it error out itself?
In our home cluster setups, we need to set the annotation to make the record a cname. If we remove it, it changes it to an A record for the internal ingresses but also breaks external ingresses because it tries to point the wildcard to our tunnel as an A record (which points a external address to an internal ip range). Very interesting issue here.
And just let it error out itself?
Sounds good to me, the error that already happens is good enough to start debugging what's wrong. Plus this issue exists for the next person that comes along the problem.
If that's the case, maybe it's worth putting in the README that wildcard DNS isn't supported?
And just let it error out itself?
In our home cluster setups, we need to set the annotation to make the record a cname. If we remove it, it changes it to an A record for the internal ingresses but also breaks external ingresses because it tries to point the wildcard to our tunnel as an A record (which points a external address to an internal ip range). Very interesting issue here.
The real issue is upstream Unifi does not support wildcard addresses, therefore, just say that in the README.
So adding a line to the pre-existing warning like this?
[!WARNING] This software is experimental and NOT FIT FOR PRODUCTION USE!
UniFi does not support Wildcard (*.) CNAME records at this time.
Maybe create a limitations section in the README somewhere and put it there.
Bug Description
The webhook will return
400
when trying to create a CNAME record with a wildcard key. Ex:*.coder.ok8.sh
UniFi returns the following output when attempting to create the record:
This should function with the External-DNS Cloudflare Provider (with warnings).
ExternalDNS Configuration
This issue relies on the configuration of external-dns outside of the helm values.
When External DNS encounters this issue, it doesn't understand what the 400 is doing per the docs
Not sure what we should do, but it seems like our options are:
ExternalDNS Logs
Webhook Logs
UniFiOS Version
v4.0.18
UniFi Network Version
v8.5.1
ExternalDNS Version
0.15.0
Search
Code of Conduct