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

    Aliases not updating

    Scheduled Pinned Locked Moved Firewalling
    13 Posts 4 Posters 1.5k Views 4 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.
    • R Offline
      Rupesh
      last edited by

      I have few aliases with FQDN hostnames configured with noip on PfSense 2.5.1

      Initially when I setup those aliases and use them in firewall rules so as to allow acess to certain services , everything works fine as they should.

      But as soon as public IP for that FQDN changes, the same is not updating in my PfSense and that ip loose access.. even if I wait for 300 seconds or 300000 seconds, alias never updates.

      And yes I know I can use other methods to control access but I wanna do with aliases . It should update I guess..

      Any idea about this situation? Help is deeply appreciated

      R 1 Reply Last reply Reply Quote 0
      • R Offline
        Rupesh @Rupesh
        last edited by

        @rupesh ok here is what I found...I guess the issue is with haproxy. If I restart haproxy then the issue resolves.
        Is anyone facing same problem?

        S 1 Reply Last reply Reply Quote 0
        • S Offline
          SteveITS Rebel Alliance @Rupesh
          last edited by

          We don't use haproxy, however, I seem to recall reading somewhere that pfSense updates the hostname aliases every few minutes...don't recall if that is 10 or 15 or what. However I also seem to recall reading Suricata only reads aliases at startup, therefore, one must restart Suricata after updating aliases. I would guess that's probably the case with haproxy, that it reads the alias when haproxy is started.

          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 reboot, or more depending on packages, and device or disk speed.
          Upvote ๐Ÿ‘ helpful posts!

          R 1 Reply Last reply Reply Quote 0
          • R Offline
            Rupesh @SteveITS
            last edited by

            @steveits yes it updates at startup it seems, so is there any workaround for this so that it may update ip after some fixed time?

            S 1 Reply Last reply Reply Quote 0
            • S Offline
              SteveITS Rebel Alliance @Rupesh
              last edited by

              @rupesh There is a Cron package if you can figure out how to restart it via command line.

              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 reboot, or more depending on packages, and device or disk speed.
              Upvote ๐Ÿ‘ helpful posts!

              R 1 Reply Last reply Reply Quote 0
              • R Offline
                Rupesh @SteveITS
                last edited by

                @steveits I do not want to restart haproxy, but rather update the alias ip from diagnosics>table entries for that alias.

                1 Reply Last reply Reply Quote 0
                • S Offline
                  sporkrom
                  last edited by

                  Hello,
                  I think the problem is, that 2.5.1 has a really heavy bug. You can' t create an FQDN Alias.
                  I tried in fresh installe 2.5.1.
                  bbdce4f5-dd87-44ba-83ad-349082fd9491-grafik.png

                  I didn't try an upgrade from 2.4.x to 2.5.1, but I thin k all FQDN Aliases will not work.

                  viktor_gV S 2 Replies Last reply Reply Quote 0
                  • viktor_gV Offline
                    viktor_g Netgate @sporkrom
                    last edited by

                    @sporkrom Screenshot from 2021-05-11 15-11-05.png

                    works fine for me on 2.5.1

                    Please provide more information about your configuration

                    S 1 Reply Last reply Reply Quote 0
                    • S Offline
                      sporkrom @viktor_g
                      last edited by

                      @viktor_g
                      Hi, fresh installation, WAN DHCP, LAN Standard IP Adress, no configuration changes.

                      Sincerely
                      Roman

                      viktor_gV 1 Reply Last reply Reply Quote 0
                      • viktor_gV Offline
                        viktor_g Netgate @sporkrom
                        last edited by

                        @sporkrom said in Aliases not updating:

                        @viktor_g
                        Hi, fresh installation, WAN DHCP, LAN Standard IP Adress, no configuration changes.

                        System language changes?
                        How I can reproduce it step-by-step?

                        S 1 Reply Last reply Reply Quote 0
                        • S Offline
                          sporkrom @viktor_g
                          last edited by

                          @viktor_g
                          Hi,
                          standard language, no changes.
                          Fresh installation of 2.5.1 x64.

                          Sincerely

                          1 Reply Last reply Reply Quote 0
                          • S Offline
                            SteveITS Rebel Alliance @sporkrom
                            last edited by

                            @sporkrom I can create an alias for "www.google.at" in 2.5.1. Try deleting and typing it, in case there is a hidden character being pasted in.

                            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 reboot, or more depending on packages, and device or disk speed.
                            Upvote ๐Ÿ‘ helpful posts!

                            S 1 Reply Last reply Reply Quote 0
                            • S Offline
                              sporkrom @SteveITS
                              last edited by

                              @steveits Hi, problem resolved. The test pfsense run in vmware player and windows 10 test vm has only Internet Explorer. After installing Firefox adding tehe FQDN Alias was no problem.

                              Thanks a lot, sincerely
                              Roman

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