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

    Dynamic DNS Updating - Multi-WAN … send update via active connection?

    Scheduled Pinned Locked Moved General pfSense Questions
    5 Posts 2 Posters 1.8k 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.
    • C
      coolspot
      last edited by

      Hello Everyone,

      I have Dual WAN configured with my pfSense router and it works perfectly; however, I recently signed up with a DNS Proxy Server and they have an "update URL" which can be called to update the IP address of the subscriber. Unfortunately this update URL does not contain an IP address field - it will automatically update the IP based on the calling host.

      Therefore, I need to configure the Dynamic DNS custom provider to send the request via the active gateway - is this possible? Seems like my only options are LAN, WAN, and WAN2.

      This seems odd as the "interface to monitor" supports multi-wan, but the outbound interface does not?

      Are there any workarounds for this?

      Thanks.

      1 Reply Last reply Reply Quote 0
      • P
        phil.davis
        last edited by

        Make a gateway group for WAN+WAN2 with whatever tiers you wish. Then select the gateway group for the Dynamic DNS entry. It will set itself out the highest tier gateway in the group that is up.
        And whatever external services you offer that use that name, (e.g. OpenVPN…) make them also listen on that gateway group so they are always listening to the same place that the name points to.

        As the Greek philosopher Isosceles used to say, "There are 3 sides to every triangle."
        If I helped you, then help someone else - buy someone a gift from the INF catalog http://secure.inf.org/gifts/usd/

        1 Reply Last reply Reply Quote 0
        • C
          coolspot
          last edited by

          The monitoring of the gateway ground is fine (Interface to Monitor), however, my gateway group does not show up under "Interface to Send Update From".

          Therefore doesn't this defeat the purpose of multi-WAN support if the update doesn't fail over too?

          1 Reply Last reply Reply Quote 0
          • P
            phil.davis
            last edited by

            Now I understand your problem - I hadn't looked hard at the "custom provider" bit of your needs.
            The software that generates the GUI form - services_dyndns_edit.php - is just lacking code to add gateway groups to the dropdown for the "Interface to send update from" field. It really should have the same list as the "Interface to monitor" field.
            I did this in the code on Github at https://github.com/phildd/pfsense/blob/master/usr/local/www/services_dyndns_edit.php the changes are this commit https://github.com/phildd/pfsense/commit/31300a95f71b14dcb98c139388205223a36e8c8b
            This applies fine to 2.1-RELEASE - there have been no other substantive changes to that file since 2.1-RELEASE.
            Try it and see if it works for your case. Then I can submit a pull request for it.

            As the Greek philosopher Isosceles used to say, "There are 3 sides to every triangle."
            If I helped you, then help someone else - buy someone a gift from the INF catalog http://secure.inf.org/gifts/usd/

            1 Reply Last reply Reply Quote 0
            • C
              coolspot
              last edited by

              @phil.davis:

              Now I understand your problem - I hadn't looked hard at the "custom provider" bit of your needs.
              The software that generates the GUI form - services_dyndns_edit.php - is just lacking code to add gateway groups to the dropdown for the "Interface to send update from" field. It really should have the same list as the "Interface to monitor" field.

              I appreciate the heads up on the pages that you wrote; I'll give those a try shortly.

              Thanks Phil!

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