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

    Aliases with FQDN not working in 2.8.0-RC

    Scheduled Pinned Locked Moved Firewalling
    10 Posts 3 Posters 1.0k 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.
    • B
      belnen
      last edited by

      I recently upgraded to 2.8.0-RC and I now have problems when using an Alias with a FQDN.

      I also got an error message about the resolve_alias() function although it seems pretty random and not helpful ->

      PHP Errors:

      [26-May-2025 14:34:02 Europe/Vienna] PHP Fatal error: Uncaught Error: Call to undefined function resolve_alias() in Command line code:1

      Stack trace:

      #0 {main}

      thrown in Command line code on line 1

      For context I use a conventional setup with unbound and have external resolve disable completely.
      When I use the command "pfctl -s Table" I can see my newley created alias, but when I try to have a look at the store ip's it get nothing in return pfctl -t Test_Route -T show. This is not the case for already existing lists that only contain IPs. For some mixed lists that were created before (version 2.7.2) it still works but not for all of them.

      For testing I added a single domain to the Test_Route Alias
      2177c093-0dc7-4396-a765-94874eaaf6a7-image.png

      Using the shell I can say that it is not updating the IP addresses based on the Alias
      18290e48-b82c-4f10-8943-ab4f91eff0de-image.png

      S 1 Reply Last reply Reply Quote 0
      • S
        SteveITS Galactic Empire @belnen
        last edited by

        @belnen If you "killall filterdns" and Status>Filter Reload does it then work? (or, I suppose, reboot pfSense)

        https://forum.netgate.com/topic/196927/filterdns-has-stopped-resolving-hostnames-in-firewall-aliases/2

        Pre-2.7.2/23.09: 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 restart, or more depending on packages and device speed.
        Upvote ๐Ÿ‘ helpful posts!

        B 2 Replies Last reply Reply Quote 0
        • B
          belnen @SteveITS
          last edited by

          @SteveITS
          No rebooting does not fix it I ofcourse tried that. ๐Ÿ˜‚

          1 Reply Last reply Reply Quote 0
          • B
            belnen @SteveITS
            last edited by

            @SteveITS I also tried you command unfortunately nothing changed.

            S 1 Reply Last reply Reply Quote 0
            • S
              SteveITS Galactic Empire @belnen
              last edited by

              @belnen Did you try the released version of 2.8?

              Pre-2.7.2/23.09: 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 restart, or more depending on packages and device speed.
              Upvote ๐Ÿ‘ helpful posts!

              B 1 Reply Last reply Reply Quote 0
              • B
                belnen @SteveITS
                last edited by

                @SteveITS Yes I did try but nothing changed. I even tried reinstalling it from scratch and importing my backup....

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

                  @belnen did you put the alias in a rule?

                  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

                  S 1 Reply Last reply Reply Quote 0
                  • S
                    SteveITS Galactic Empire @johnpoz
                    last edited by

                    @johnpoz https://www.reddit.com/r/PFSENSE/s/kFSQtPSaUa

                    Pre-2.7.2/23.09: 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 restart, or more depending on packages and device speed.
                    Upvote ๐Ÿ‘ helpful posts!

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

                      @SteveITS said in Aliases with FQDN not working in 2.8.0-RC:

                      https://www.reddit.com/r/PFSENSE/s/kFSQtPSaUa

                      so zero effort to come here and say that.. <rolleyes>

                      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

                      B 1 Reply Last reply Reply Quote 0
                      • B
                        belnen @johnpoz
                        last edited by

                        @johnpoz Sorry was going to just had no time till now.

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