Issue: DDNS Authentication Failed with Cloudflare Integration
Hi,
I may be missing something, but I followed the instructions and ran them multiple times. However, I keep encountering the same error. I suspect the firewall might be blocking the connection, but I haven’t found anything in the logs to confirm this. Plus, the error message indicates "auth failed," which suggests a different issue.
Here’s what I’ve done so far:
-Verified the API Token
I tested the API token using the Cloudflare verification endpoint, and it returned the following:
{
"result": {
"id": "xxx",
"status": "active"
},
"success": true,
"errors": [],
"messages": [
{
"code": 10000,
"message": "This API Token is valid and active",
"type": null
}
]
}
So, the token appears to be valid and active.
-Error Log from the NAS
SYSTEM: System failed to register [xxx.xxx.xxx.xxx] to [hostname] in DDNS server [Cloudflare] because of [Authentication failed].
Additionally, I don’t see any access attempts or failures in the audit logs on Cloudflare.
-API Token Permissions
Zone Settings: Read
Zone: Read
DNS: Edit
The target A record exists, is proxied, and the IP address has been verified to be correct.
Service Provider: Cloudflare
Hostname: nas.domain.com (even though it’s stated this field isn’t used)
Username/Email: nas.domain.com
Password/Key: API Key (copied and pasted to avoid typos)
External Address: Auto (Public IP)
I’m out of ideas about what could be causing this issue. Can anyone spot something I might have missed?
Thanks!
Issue: DDNS Authentication Failed with Cloudflare Integration
Hi,
I may be missing something, but I followed the instructions and ran them multiple times. However, I keep encountering the same error. I suspect the firewall might be blocking the connection, but I haven’t found anything in the logs to confirm this. Plus, the error message indicates "auth failed," which suggests a different issue.
Here’s what I’ve done so far:
-Verified the API Token
I tested the API token using the Cloudflare verification endpoint, and it returned the following:
So, the token appears to be valid and active.
-Error Log from the NAS
Additionally, I don’t see any access attempts or failures in the audit logs on Cloudflare.
-API Token Permissions
The target A record exists, is proxied, and the IP address has been verified to be correct.
I’m out of ideas about what could be causing this issue. Can anyone spot something I might have missed?
Thanks!