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

    Dynamic DNS not updating (PPPoE) WAN IP sometimes

    Scheduled Pinned Locked Moved General pfSense Questions
    22 Posts 4 Posters 2.5k Views 4 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.
    • w0wW Away
      w0w @Gertjan
      last edited by w0w

      @Gertjan said in Dynamic DNS not updating (PPPoE) WAN IP sometimes:

      You (your script) updates the IP, as there was a mismatch.
      The dyndns service accepts your update, but fails to transmit the updated hostname to its DNS name server.
      On your side, an event restarts packages. dyndns locally is restarted, and finds again a mismatch.
      An update happens ...

      Well, I do not know…
      What prevents you from continuing to record the time stamp of the last update without writing down the IP itself and, based on this stamp, choose the next period for updating, so DDoS does not happen, with a safe interval? Each time checking if the record has been updated and only trying to update if the IP is not the same? You don’t even need to process dyndns server responses.
      And yes, you can also force it to update as it doing after desired period of time 25 days by default or 6 for some services.

      If it comes to that, you can also write to the file the number of FAILURE attempts to update the record. Failure attempts are how many times the address comparison on the interface was incorrect and after some attempt, say the 10th, stop everything altogether or set new safe interval for whatever you think, ex. one week and giving clear error to user that something is definitely wrong with that service or it's settings.

      1 Reply Last reply Reply Quote 0
      • S Offline
        SteveITS Rebel Alliance @SteveITS
        last edited by

        So....finally figured out I had the incorrect credentials when I couldn't get it to log in using the No-IP software. Using a group, the login field is format groupname:account-username not groupname:dyndns-first-part-of-hostname. 🤕 However, I am left wondering why it "succeeded" so often using pfSense, in that I only got the "mysterious" credential error sometimes.

        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 reboot, or more depending on packages, and device or disk speed.
        Upvote 👍 helpful posts!

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