-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Error: Failed to find zone '%h/nic/update?system=dyndns' #74
Comments
What did you put in the server field in the web UI? For the USG, you only put the server FQDN, not the path with variables. |
Any updates on this? When I run without variables I get the following: 400 Bad Requestcloudflare inadyn[1872452]: Error response from DDNS server, exiting! inadyn[1872452]: Error code 48: DDNS server response not OK root@UXG-Pro:/# |
For the USG Pro 4 I can confirm that I had this issue, and then when I truncated the server address to workername.accountsubdomain.workers.dev in the ubiquiti network application everything started to work great. I have not tested this with the UXG yet, but I'm looking forward to it. Thanks to the dev team for their work, this is fantastic. |
I have set this up on a UXG Pro, and it is the same as the UDM series: DO include the full path with variables. The rules come down to this: (Use service
I've personally tested this works correctly on the USG-Pro-4, UDM-Pro, UDM-SE, and UXG-Pro. If someone has a UX to test this on, that might be good. It appears to be a much lower spec system than anything else currently available, so maybe it doesn't support this feature or use the same software (though I expect it probably does). |
@MatthewA1 So I had no issues with the actual domain. However when I specify a subdomain after I already had my A record created, I now get a different error. Not sure why it does not want to function with a domain. |
Update: Looking at the logs, CloudFront API complained about failing to find zone associated with sub.example.com. |
Unfortunately I believe that is correct. Did switching to a zone-wide API key fix your issue? |
That didn't work unfortunately. Makes me miss Google DynDNS that was killed. |
Try a token that has permissions to all zones in your account and see if that works just to see if maybe there's some weird scoping problem. |
Same error..
No solutions found I guess..? |
There's lots of solutions found. Have you completed the following? Please advise:
|
Ok. It seems that I misunderstood. In my mind I read that i had to use the FQDN and was thinking "that is what I'm using.." It works now. Thank you! |
Can this be closed @thadius83? |
This worked for me. I would suggest adding this to the setup instructions for the USGs though. |
The instructions do say "For older UniFi devices, omit the URL path." |
I have a USG 4, it's getting a bit long in the teeth but it's what I have.
Have managed to deploy the worker to cloudflare, no problems there. However it seems ddclient is sending the wrong GET request, and results in an error with the zone.
DDClient version is 3.9.1
Have tried both dyndns & custom
I see the get request within Cloudflare.
Contents of ddclient.config
Debug Logs:
From CF:
From CLI
I'm guessing it's something within the USG that's appending the extra "/nic/update?system=dyndns&hostname=hostname.xxxyyy.com&myip=12.12.12.12"
Any thoughts on how to address this?
The text was updated successfully, but these errors were encountered: