Guest User!

You are not Sophos Staff.

This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Cloudflare DDNS Update Behavior in Sophos XG v19.0.1 MR-1

I noticed some odd behavior with how the built-in DDNS client handles errors.

I use Cloudflare to manage the public DNS for several of my domains. I recently changed the email address associated with my account. I didn't think to update the account email address in my Sophos XG firewall, and the DDNS updates (obviously) began failing. The error message was not quite accurate and not particularly helpful.  

Summary: Dynamic DNS failures are not accurately/correctly logged.

Product: SFVH (SFOS 19.0.1 MR-1-Build365)

Feature Impacted: DDNS Update

Severity: Minimal

How to Reproduce:

Set up Dynamic DNS using Cloudflare as service provider and confirm that the IP address is being updated properly. Then, in the Cloudflare dashboard, change your account email address. Dynamic DNS updates will fail, and the observed error will show up in the system log. 

Observed Behavior:

The system log showed "DDNS update for host [sub.domain.com] was Failed. Last Updated with IP 0.0.0.0. Failure Reason: noconnect 

Desired Behavior: 

The system log should accurately explain the error; the information shown is not accurate and could impede/delay attempts at troubleshooting. 

  1. The IP address was not last updated with IP 0.0.0.0. 
  2. The failure reason should should be more explicit as well - "noconnect" indicates an issue reaching the Cloudflare servers, when in fact the error was with authentication. 

Ideally, the error should read "DDNS update for host [sub.domain.com] failed. Failure Reason: Bad Authentication" 



This thread was automatically locked due to age.
Parents
  • I'm having the same issue except I'm trying to setup for the first time.

    I've created the A record in CloudFlare and created the Zone.DNS API Token for the root domain but the Sophos just says Failed status and noconnect for Failure reason with no further information anywhere.  If anyone has an idea if there is a log or anything on the box itself I could review to see what is happening behind the scenes, would be great.  I have everything with Dyn DNS right now and I want to move to CloudFlare because we have so many other things in there, it makes sense, but need this to work first.

  • Cloudflare API tokens unfortunately aren't supported and you have to instead use the deprecated global API key.

    Would love to put in a feature request to support Cloudflare API tokens but can't as a lowly home user now that that the Sophos Ideas Portal has been removed. If anyone else can, it would be appreciated. 

Reply Children