• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
Netgate Discussion Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login

Cloudflare DDNS not working

Scheduled Pinned Locked Moved DHCP and DNS
10 Posts 3 Posters 1.2k Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • N
    NasKar
    last edited by Dec 30, 2023, 1:05 PM

    My ddns for cloudflare is not working anymore. I tried to delete it and add it back but I get 0.0.0.0 for the IP. The logs show sendto: Host is down. I'm using 2.7.0-RELEASE.
    I'm using my global API key for the password.
    ddns.jpg

    Intel(R) Core(TM)2 Duo CPU E7500 @ 2.93GHz
    2 CPUs: 1 package(s) x 2 core(s)
    AES-NI CPU Crypto: No
    2 Gigs Ram
    SSD with ver 2.4.0
    IBM Intel Pro PCI-E Quad Port 10/100/1000 Server Adapter 39Y6138 (K210320)

    S J 2 Replies Last reply Dec 30, 2023, 5:16 PM Reply Quote 0
    • S
      SteveITS Galactic Empire @NasKar
      last edited by Dec 30, 2023, 5:16 PM

      @NasKar “host is down”…does your verbose log say to what host it’s trying to connect?

      I don’t see this mentioned in the release notes but consider updating to the latest version anyway.

      Pre-2.7.2/23.09: Only install packages for your version, or risk breaking it. Select your branch in System/Update/Update Settings.
      When upgrading, allow 10-15 minutes to restart, or more depending on packages and device speed.
      Upvote 👍 helpful posts!

      N 1 Reply Last reply Dec 30, 2023, 10:53 PM Reply Quote 0
      • J
        johnpoz LAYER 8 Global Moderator @NasKar
        last edited by Dec 30, 2023, 6:06 PM

        @NasKar I just tested this on 2.7.2 and works as designed.. no issues here..

        Did you create your @ record on cloudflare first, so then the ddns can update it?

        ddns.jpg

        So I went to cloudflare, created the A record using @

        atrecord.jpg

        So you can see from query before, then query after ddns updated.

        beforeafter.jpg

        This was doing a query for just domainname.tld

        Before that I would get just soa, because there was no record for just domainname.tld

        soa.jpg

        An intelligent man is sometimes forced to be drunk to spend time with his fools
        If you get confused: Listen to the Music Play
        Please don't Chat/PM me for help, unless mod related
        SG-4860 24.11 | Lab VMs 2.8, 24.11

        1 Reply Last reply Reply Quote 0
        • N
          NasKar @SteveITS
          last edited by Dec 30, 2023, 10:53 PM

          @SteveITS said in Cloudflare DDNS not working:

          I don’t see this mentioned in the release notes but consider updating to the latest version anyway.

          my pfsense doesn't notice an upgrade is available.
          pfsense upgrade.jpg

          @johnpoz I think the problem was with how I created a cloudflare tunnel to use with my home assistant. I didn't want to open another port on my pfsense but still wanted to access my homeassistant app from outside my network. My nextcloud is setup with cloudflare and has port 80 and 443 directed to the server. When I setup the local tunnel per these instruction it must have conflicted with the cloudflare DNS and pfsense wouldn't update the DDNS and I couldn't access my nextcloud remotely.

          I tried the directions for a remote managed tunnel and now everything works including PFsense DDNS to cloudflare. Sorry I sent you on a wild goose chase. I don't understand why creating the tunnel in a local way breaks everything.

          Intel(R) Core(TM)2 Duo CPU E7500 @ 2.93GHz
          2 CPUs: 1 package(s) x 2 core(s)
          AES-NI CPU Crypto: No
          2 Gigs Ram
          SSD with ver 2.4.0
          IBM Intel Pro PCI-E Quad Port 10/100/1000 Server Adapter 39Y6138 (K210320)

          S 1 Reply Last reply Dec 30, 2023, 10:57 PM Reply Quote 0
          • S
            SteveITS Galactic Empire @NasKar
            last edited by Dec 30, 2023, 10:57 PM

            @NasKar try https://docs.netgate.com/pfsense/en/latest/releases/2-7-1.html#troubleshooting

            Pre-2.7.2/23.09: Only install packages for your version, or risk breaking it. Select your branch in System/Update/Update Settings.
            When upgrading, allow 10-15 minutes to restart, or more depending on packages and device speed.
            Upvote 👍 helpful posts!

            N 1 Reply Last reply Dec 30, 2023, 11:13 PM Reply Quote 0
            • N
              NasKar @SteveITS
              last edited by Dec 30, 2023, 11:13 PM

              @SteveITS said in Cloudflare DDNS not working:

              try https://docs.netgate.com/pfsense/en/latest/releases/2-7-1.html#troubleshooting

              Not sure how to fix it after looking at your link.

              @johnpoz how can I check that external DNS is getting my external IP address when I use dig or someother utility. I have an edit host override of my cloud.mydomain.com so dig returns my pfsense IP address.

              Intel(R) Core(TM)2 Duo CPU E7500 @ 2.93GHz
              2 CPUs: 1 package(s) x 2 core(s)
              AES-NI CPU Crypto: No
              2 Gigs Ram
              SSD with ver 2.4.0
              IBM Intel Pro PCI-E Quad Port 10/100/1000 Server Adapter 39Y6138 (K210320)

              S J 2 Replies Last reply Dec 30, 2023, 11:19 PM Reply Quote 0
              • S
                SteveITS Galactic Empire @NasKar
                last edited by Dec 30, 2023, 11:19 PM

                @NasKar
                Diagnostics > Command Prompt, then run “certctl rehash”. Check for updates again.

                dig hostname @8.8.8.8
                …or any public DNS server

                Pre-2.7.2/23.09: Only install packages for your version, or risk breaking it. Select your branch in System/Update/Update Settings.
                When upgrading, allow 10-15 minutes to restart, or more depending on packages and device speed.
                Upvote 👍 helpful posts!

                1 Reply Last reply Reply Quote 0
                • J
                  johnpoz LAYER 8 Global Moderator @NasKar
                  last edited by Dec 30, 2023, 11:39 PM

                  @NasKar for your upgrade look here

                  https://docs.netgate.com/pfsense/en/latest/troubleshooting/upgrades.html

                  First thing I would would run this command

                  pkg-static clean -ay; pkg-static install -fy pkg pfSense-repo pfSense-upgrade

                  An intelligent man is sometimes forced to be drunk to spend time with his fools
                  If you get confused: Listen to the Music Play
                  Please don't Chat/PM me for help, unless mod related
                  SG-4860 24.11 | Lab VMs 2.8, 24.11

                  N 1 Reply Last reply Dec 31, 2023, 12:36 AM Reply Quote 0
                  • N
                    NasKar @johnpoz
                    last edited by Dec 31, 2023, 12:36 AM

                    @johnpoz said in Cloudflare DDNS not working:

                    pkg-static clean -ay; pkg-static install -fy pkg pfSense-repo pfSense-upgrade

                    pkg-static clean -ay; pkg-static install -fy pkg pfSense-repo pfSense-upgrade
                    pkg-static: Repository pfSense-core missing. 'pkg update' required
                    pkg-static: No package database installed.  Nothing to do!
                    Updating pfSense-core repository catalogue...
                    pkg-static: An error occured while fetching package
                    pkg-static: An error occured while fetching package
                    repository pfSense-core has no meta file, using default settings
                    pkg-static: An error occured while fetching package
                    pkg-static: An error occured while fetching package
                    Unable to update repository pfSense-core
                    Updating pfSense repository catalogue...
                    pkg-static: An error occured while fetching package
                    pkg-static: An error occured while fetching package
                    repository pfSense has no meta file, using default settings
                    pkg-static: An error occured while fetching package
                    pkg-static: An error occured while fetching package
                    Unable to update repository pfSense
                    Error updating repositories!
                    
                    

                    Intel(R) Core(TM)2 Duo CPU E7500 @ 2.93GHz
                    2 CPUs: 1 package(s) x 2 core(s)
                    AES-NI CPU Crypto: No
                    2 Gigs Ram
                    SSD with ver 2.4.0
                    IBM Intel Pro PCI-E Quad Port 10/100/1000 Server Adapter 39Y6138 (K210320)

                    J 1 Reply Last reply Dec 31, 2023, 1:55 AM Reply Quote 0
                    • J
                      johnpoz LAYER 8 Global Moderator @NasKar
                      last edited by Dec 31, 2023, 1:55 AM

                      @NasKar yeah thats borked..

                      An intelligent man is sometimes forced to be drunk to spend time with his fools
                      If you get confused: Listen to the Music Play
                      Please don't Chat/PM me for help, unless mod related
                      SG-4860 24.11 | Lab VMs 2.8, 24.11

                      1 Reply Last reply Reply Quote 0
                      10 out of 10
                      • First post
                        10/10
                        Last post
                      Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                        This community forum collects and processes your personal information.
                        consent.not_received