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

    Dynamic DNS (DDNS) fails to obtain public IP

    Scheduled Pinned Locked Moved DHCP and DNS
    48 Posts 7 Posters 1.3k Views 6 Watching
    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.
    • 7 Offline
      70tas @johnpoz
      last edited by

      @johnpoz Ok, well thank you anyway John
      Tas

      1 Reply Last reply Reply Quote 0
      • M Offline
        ManiacDC
        last edited by

        I'm having this same issue after updating to 2.8.0. My DDNS providers all show red (all 3 of them) and none are updating. They all give the same error:
        /services_dyndns_edit.php: Dynamic DNS (<redacted>) There was an error trying to determine the public IP for interface - wan (vtnet1 ).

        Seems like there's no solution in this thread, unfortunately :(

        M 1 Reply Last reply Reply Quote 0
        • M Offline
          ManiacDC @ManiacDC
          last edited by

          I found a solution on Reddit, it's to disable gateway monitoring (or in my case, I changed the monitoring IP):
          https://www.reddit.com/r/PFSENSE/comments/1l1x7wd/pfsense_280_ce_and_dynamic_dns_with_linode_api/

          johnpozJ 1 Reply Last reply Reply Quote 0
          • johnpozJ Offline
            johnpoz LAYER 8 Global Moderator @ManiacDC
            last edited by

            @ManiacDC So your gateway was offline.. Or the gateway/monitor you were pointing to was not answering so pfsense thought it was offline. But it wasn't and was working.

            It showed it in the gateway widget as offline? That is a pretty significant piece of info to know.. That was never mentioned here.

            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

            M 1 Reply Last reply Reply Quote 0
            • M Offline
              ManiacDC @johnpoz
              last edited by

              @johnpoz the gateway ip address does not respond to pings, so it was showing as offline in the widget. If I change the IP to something I can ping, like 8.8.8.8, then everything starts working. I don't know what's new with 2.8.0 to change this behavior:
              Did monitoring change in 2.8.0?
              Did DDNS updates start checking the gateway status in 2.8.0?
              I don't know if my gateway showed as offline in 2.7.X, I never checked. I doubt my gateway's ability to respond to pings has changed.

              1 Reply Last reply Reply Quote 0
              • M Offline
                ManiacDC
                last edited by ManiacDC

                Seems to be an xfinity thing (which is my provider):
                https://www.reddit.com/r/opnsense/comments/1c9zpfq/gateway_monitoring_for_a_boring_comcast_service/
                https://www.reddit.com/r/PFSENSE/comments/u9ogdh/comcast_gateway_became_unpingable/

                I can only presume 2.8.0 started checking the gateway status before updating ddns.

                1 Reply Last reply Reply Quote 0
                • R Offline
                  revengineer
                  last edited by

                  @ManiacDC You have a completely different issue. For me, it was only cloudflare that stopped working; other DDNS providers updated fine (I did not mention this though).

                  It seems you found a solution and @johnpoz pointed you in the right direction. It's indeed recent xfinity issue where you can no longer ping the gateway. I brought this up a couple of months ago here. Just ping something else, and if you receive a response it implies that the gateway is working.

                  M 1 Reply Last reply Reply Quote 0
                  • M Offline
                    ManiacDC @revengineer
                    last edited by

                    @revengineer yeah my issue is different from yours than, but we actually don't know if @70tas 's is. They are using xfinity also so it could be the same issue as mine.

                    7 1 Reply Last reply Reply Quote 0
                    • 7 Offline
                      70tas @ManiacDC
                      last edited by

                      @ManiacDC Sorry, I missed the thread.
                      I do use Comcast, but I don't think it has anything to do with it. I think I may have inadvertently, somehow contaminated my DDNS configuration when I changed my WAN port.
                      I am using a script that I was given, and used Claude to help modify it so it would not update my DDNS at Cloudflare if my address has not changed, and it is working just fine.
                      I added the script in cron and I'm running it every fifteen minutes, but I haven't had my address change yet. Hopefully when the address changes, the script will do it's job and change Cloudflare.

                      I've chased my tail around trying to figure out what happened, but since I have a work-around, I'm not that worried about it.

                      M 1 Reply Last reply Reply Quote 0
                      • M Offline
                        ManiacDC @70tas
                        last edited by

                        @70tas so to confirm, your gateway is not reporting offline?

                        1 Reply Last reply Reply Quote 0
                        • First post
                          Last post
                        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.