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

    How often are DNS aliases updated for firewall use?

    Scheduled Pinned Locked Moved Firewalling
    4 Posts 2 Posters 682 Views 2 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.
    • MrPeteM Offline
      MrPete
      last edited by

      We have a pretty nice monitoring service (nodeping.com)
      I want to allow their query nodes to perform queries from the outside that normally we would block as being intrusive.

      I've set up an alias to their DNS that gives the list of IP's.

      My question: with that set up, if one of their probe IP's changes, how soon will pfSense see it?

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

        @mrpete how exactly are you loading this?

        What dns query are you doing, or you just loading the text file they list?

        filterdns that would reload a fqdn you have setup in an alias defaults to every 5 minutes.. But that not going to matter the ttl of those records is 18000 seconds or 5 hours. So even if they changed it, you would have the old IP cached for maybe up to 5 hours.. So I take it those IPs don't change very often.

        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 25.07.1 | Lab VMs 2.8, 25.07.1

        MrPeteM 1 Reply Last reply Reply Quote 0
        • MrPeteM Offline
          MrPete @johnpoz
          last edited by MrPete

          @johnpoz Thanks! (And yes, pretty stable ;) )

          oh, I am using an alias to "host" probes.nodeping.com

          Would it be somehow better to use that name directly in a firewall rule?

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

            @mrpete I would think alias is better, since it should fill a table with all of those IPs.

            I do same sort of thing for like uptime robot and status cake, and the IPs that plex uses to check services. But I just load all of those lists via pfblocker into an alias. And I have it only set to update ever like 12 hours.. And never ran into any issues..

            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 25.07.1 | Lab VMs 2.8, 25.07.1

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