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

    Dyndns address as firewall alias?

    Scheduled Pinned Locked Moved Firewalling
    4 Posts 2 Posters 2.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 Offline
      netphreak
      last edited by

      I want to use a dynamic DNS host name as a firewall alias. Works great, but when the IP address changes for the dyndns client, pfsense doesn't understand the IP is changed. When pinging from pfsense, the correct IP is displayed, but the firewall is not catching it.

      Any way to "refresh" the firewall?

      1 Reply Last reply Reply Quote 0
      • jimpJ Offline
        jimp Rebel Alliance Developer Netgate
        last edited by

        In 2.0 there is a daemon which periodically re-resolves the addresses.

        On 1.2.3 it only resolves them when the filter is reloaded. You could use the cron package to schedule a filter reload, but that's a bit hackish. (Also on 1.2.3 if it can't resolve the hostname it will fail to reload the ruleset!)

        Best bet is to move up to 2.0 where it works perfectly.

        Remember: Upvote with the ๐Ÿ‘ button for any user/post you find to be helpful, informative, or deserving of recognition!

        Need help fast? Netgate Global Support!

        Do not Chat/PM for help!

        1 Reply Last reply Reply Quote 0
        • N Offline
          netphreak
          last edited by

          Thank you for your answer - I didn't know there was a daemon handling this in 2.0, great news! At what intervals does this daemon work? Or - can it be changed? Probably not needed in my setup, just curious :)

          1 Reply Last reply Reply Quote 0
          • jimpJ Offline
            jimp Rebel Alliance Developer Netgate
            last edited by

            I think it's every 5 minutes, might be a little lower. Probably no real good reason to set it much lower than that.

            Remember: Upvote with the ๐Ÿ‘ button for any user/post you find to be helpful, informative, or deserving of recognition!

            Need help fast? Netgate Global Support!

            Do not Chat/PM for help!

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