OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Archive »
  • 17.1 Legacy Series »
  • Dynamic DNS on CloudFlare does not seem to work
« previous next »
  • Print
Pages: [1]

Author Topic: Dynamic DNS on CloudFlare does not seem to work  (Read 5824 times)

jerrac

  • Newbie
  • *
  • Posts: 18
  • Karma: 1
    • View Profile
Dynamic DNS on CloudFlare does not seem to work
« on: July 01, 2017, 10:42:36 pm »
I have the Dynamic DNS configured to use CloudFlare.com. It is supposed to keep home.davidreagan.net pointed at my home IP address. When I click "Save and force update" the record on CloudFlare.com does not change to my new IP address.

It has the correct username and password for CloudFlare. I double checked that.

home.davidreagan.net is configured as an A record on CloudFlare's DNS page.

I enabled verbose logging, but I have not found where to view those logs yet.

Do you have any suggestions on how to troubleshoot this?
Logged

jerrac

  • Newbie
  • *
  • Posts: 18
  • Karma: 1
    • View Profile
Re: Dynamic DNS on CloudFlare does not seem to work
« Reply #1 on: July 01, 2017, 10:44:24 pm »
Ah hah. System -> Log file shows this:

Quote
Jul 1 12:45:31    opnsense: /services_dyndns_edit.php: Dynamic DNS (home.davidreagan.net): UNKNOWN ERROR - Invalid request headers
Jul 1 12:45:31    opnsense: /services_dyndns_edit.php: Dynamic DNS (home.davidreagan.net): PAYLOAD: {"success":false,"errors":[{"code":6003,"message":"Invalid request headers","error_chain":[{"code":6103,"message":"Invalid format for X-Auth-Key header"}]}],"messages":[],"result":null}
Jul 1 12:45:31    opnsense: /services_dyndns_edit.php: Dynamic DNS (home.davidreagan.net): Current Service: cloudflare
Jul 1 12:45:31    opnsense: /services_dyndns_edit.php: Dynamic DNS (home.davidreagan.net): _checkStatus() starting.
Jul 1 12:45:31    opnsense: /services_dyndns_edit.php: Dynamic DNS (home.davidreagan.net): _update() starting.
Jul 1 12:45:31    opnsense: /services_dyndns_edit.php: Dynamic DNS (home.davidreagan.net): running get_failover_interface for wan. found em0
Jul 1 12:45:31    opnsense: /services_dyndns_edit.php: Dynamic DNS (home.davidreagan.net): 67.171.230.238 extracted
Jul 1 12:45:31    opnsense: /services_dyndns_edit.php: Dynamic DNS: updatedns() starting
Logged

jerrac

  • Newbie
  • *
  • Posts: 18
  • Karma: 1
    • View Profile
Re: Dynamic DNS on CloudFlare does not seem to work
« Reply #2 on: July 10, 2017, 10:21:31 pm »
It's been long enough I don't think a bump is a bad thing. Anyone have any ideas for me?
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 13634
  • Karma: 1174
    • View Profile
Re: Dynamic DNS on CloudFlare does not seem to work
« Reply #3 on: July 11, 2017, 05:35:19 pm »
There is a bug with cloudflare below but your issue seems more grave

https://github.com/opnsense/core/issues/1572

Fixing cloudflare is a problem of providing test credentials or patches, so that we can make progress. Can only try... :)


Cheers,
Franco
Logged

jerrac

  • Newbie
  • *
  • Posts: 18
  • Karma: 1
    • View Profile
Re: Dynamic DNS on CloudFlare does not seem to work
« Reply #4 on: July 13, 2017, 11:33:31 pm »
So, you need a CloudFlare account to use for testing?
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 13634
  • Karma: 1174
    • View Profile
Re: Dynamic DNS on CloudFlare does not seem to work
« Reply #5 on: July 14, 2017, 04:22:26 pm »
Yes, that would help to diagnose the issue.
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • Archive »
  • 17.1 Legacy Series »
  • Dynamic DNS on CloudFlare does not seem to work
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2023 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2