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

    Rules with pointings dns, ip unknown

    Scheduled Pinned Locked Moved Firewalling
    5 Posts 4 Posters 1.1k 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.
    • Z
      ziconick
      last edited by

      there is a way to create a firewall rule that uses DNS records instead of an IP?
      help me

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

        Yeah its called an alias.

        https://doc.pfsense.org/index.php/Aliases

        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

        1 Reply Last reply Reply Quote 0
        • N
          nothing
          last edited by

          @ziconick:

          there is a way to create a firewall rule that uses DNS records instead of an IP?
          help me

          You can't. Firewall understands IPs and subnets only.

          1 Reply Last reply Reply Quote 0
          • G
            georgeman
            last edited by

            I agree with johnpoz. If you create an alias with an FQDN, it will be resolved every 5 minutes, and the rules applied to the actual IP/subnet

            If it ain't broke, you haven't tampered enough with it

            1 Reply Last reply Reply Quote 0
            • Z
              ziconick
              last edited by

              thanks  ;)

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