Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login
    Introducing Netgate Nexus: Multi-Instance Management at Your Fingertips.

    using *.domain for an alias

    Scheduled Pinned Locked Moved General pfSense Questions
    8 Posts 5 Posters 2.9k Views 5 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.
    • A Offline
      along5664
      last edited by

      Is it possible to create an alias ex. *.microsoft.com? I am running 26.03.1-RELEASE ,
      I tried to add it and got an error saying invalid .

      Thanks.

      SteveITSS GertjanG 3 Replies Last reply Reply Quote 0
      • SteveITSS Offline
        SteveITS Rebel Alliance @along5664
        last edited by

        @along5664 It needs to be a resolvable FQDN.

        To upgrade, select your branch in System/Update/Update Settings. When upgrading, allow 10-15 minutes to reboot, or more depending on packages, CPU, and/or disk speed.
        Only install packages for your version of pfSense.
        Upvote ๐Ÿ‘ helpful posts!

        1 Reply Last reply Reply Quote 0
        • SteveITSS Offline
          SteveITS Rebel Alliance @along5664
          last edited by

          @along5664 also note MS uses multiple IPs which rotate so this may not accomplish your goal. What is your goal?

          To upgrade, select your branch in System/Update/Update Settings. When upgrading, allow 10-15 minutes to reboot, or more depending on packages, CPU, and/or disk speed.
          Only install packages for your version of pfSense.
          Upvote ๐Ÿ‘ helpful posts!

          A 1 Reply Last reply Reply Quote 0
          • A Offline
            along5664 @SteveITS
            last edited by

            @SteveITS
            I have several domains , here is an example:
            api.todyl.com

            status.todyl.com

            ws.todyl.com

            auth.todyl.com

            support.todyl.com

            I was hoping to do *.todyl.com to cover all the ones I have to add.
            Need to add this to multiple pfsense devices.

            1 Reply Last reply Reply Quote 0
            • GertjanG Online
              Gertjan @along5664
              last edited by

              @along5664 said in using *.domain for an alias:

              Is it possible to create an alias ex. *.microsoft.com?

              [Alias Features and Limitations](Alias Features and Limitations).

              Read the one and only yellow Warning (who actually) on that page :

              792eddb3-ff43-4994-97d1-21ba6858596a-image.png

              See this :

              This feature is not useful for controlling access to hostnames for large public websites

              as an understatement.
              Just don't do that - it will go wrong.

              No "help me" PM's please. Use the forum, the community will thank you.

              A 1 Reply Last reply Reply Quote 0
              • A Offline
                along5664 @Gertjan
                last edited by

                @Gertjan
                Thnx we will add them individually.

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

                  @along5664 if you want all of them to point to the same IP you can use a redirection in unbound. But no creating a wildcard alias is not really possible..

                  You can redirect a whole domain in unbound with an entry like this.

                  local-zone: "pool.ntp.org" redirect
                  local-data: "pool.ntp.org 3600 IN A 192.168.3.32"
                  

                  So anything.anything.whatever.pool.ntp.org gets redirect to the 3.32 address..

                  dig something.pool.ntp.org +short
                  192.168.3.32
                  
                  dig otherthing.something.pool.ntp.org +short
                  192.168.3.32
                  
                  dig pool.ntp.org +short
                  192.168.3.32
                  

                  I use this because devices on my network using their own ntp pool settings that I can not change - don't really want them asking the pool, when I have a local ntp server running on a pi.

                  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 26.03.1 | Lab VMs 2.8.1, 26.03.1

                  1 Reply Last reply Reply Quote 0
                  • stephenw10S Offline
                    stephenw10 Netgate Administrator
                    last edited by

                    You can add all those fqdns to one alias but they do need to be included separately.

                    Or you could host a list somewhere and add that as a url alias if you have a large number of firewalls to add it to. That way you can easily add or remove fqdns from the file and it will propagate to all the firewalls.

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