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

    What happened to unbound?

    pfSense Packages
    7
    17
    7.0k
    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.
    • P
      phil.davis
      last edited by

      pkg_config.8.xml.amd64 specifies for unbound:

      <maximum_version>2.0.1</maximum_version>
      

      But the version is actually 2.0.1-RELEASE

      As the Greek philosopher Isosceles used to say, "There are 3 sides to every triangle."
      If I helped you, then help someone else - buy someone a gift from the INF catalog http://secure.inf.org/gifts/usd/

      1 Reply Last reply Reply Quote 0
      • P
        phil.davis
        last edited by

        pkg_config.8.xml and pkg_config.8.xml.amd64 specify for unbound:

        <maximum_version>2.0.1</maximum_version>
        

        But the version is actually the string "2.0.1-RELEASE".
        Using the code that compares versions, I get this:

        var_dump(pfs_version_compare("","2.0.1-RELEASE","2.0.1-RELEASE"));
        int(0)
        var_dump(pfs_version_compare("","2.0.1-RELEASE","2.0.1"));
        int(1)
        

        When it compares, it thinks that "2.0.1-RELEASE" is a bigger version than "2.0.1".
        So unbound does not show up in the list.
        Other packages are listed as:

        <maximum_version>2.1</maximum_version>
        

        which has the effect of letting them run on "2.0.1-RELEASE" but not "2.1-BETA0".
        The easy fix is to change maximum_version to 2.1 - like for all the other packages.
        But I think it is strange to specify maximum_version 2.1 and have it mean in effect up to but not including any 2.1 variants. Comparing the text bit of the version string does not really work - "2.1-DEVELOPMENT" came before "2.1-BETA0" but they are alphabetically around the other way. Perhaps just the dotted numeric bit should be compared?

        As the Greek philosopher Isosceles used to say, "There are 3 sides to every triangle."
        If I helped you, then help someone else - buy someone a gift from the INF catalog http://secure.inf.org/gifts/usd/

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

          Perhaps someone is aguing with me because I changed the maximum version - but I just did it.

          @_igor_:
          Please post back if it is working or not. If it is NOT working we have to remove the change so that noone else is installing unbound and breaking its system.

          1 Reply Last reply Reply Quote 0
          • _
            _igor_
            last edited by

            Thats great! Its up and running! Thanks a lot for bringing back unbound!!! :)

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

              @_igor_:

              Thats great! Its up and running! Thanks a lot for bringing back unbound!!! :)

              That sounds good.

              In general I do not change anything on packages or features I did not build myself or I do not maintain :)

              1 Reply Last reply Reply Quote 0
              • L
                LinuxTracker
                last edited by

                Heck.  All this time I thought Unbound had been pulled.

                I had to figure out the old install url and have been using that to get Unbound in there.

                1 Reply Last reply Reply Quote 0
                • A
                  allpoints
                  last edited by

                  I've read this thread, and saw the links to an impressive Google spreadsheet, and to a discussion that does not even mention the words "unbound" or "dns". Yet this thread is one of the few mentions of Unbound on pfSense forums in the last few months, according to the forum search engine.
                  I keep hearing about integrating Unbound into 2.1, but it's nowhere to be found on 2.1 i386.

                  I've been running Unbound on a Debian VM on my LAN.

                  1 Reply Last reply Reply Quote 0
                  • P
                    phil.davis
                    last edited by

                    The Unbound entry in pfsense-packages / pkg_config.8.xml has no mention of PBI, so it hasn't been integrated with 2.1 yet. Someone who cares needs to contact the package maintainer and see what they intend to do about it (look in Github in pkg_config.8.xml for the email address), then find a way forward.

                    As the Greek philosopher Isosceles used to say, "There are 3 sides to every triangle."
                    If I helped you, then help someone else - buy someone a gift from the INF catalog http://secure.inf.org/gifts/usd/

                    1 Reply Last reply Reply Quote 0
                    • L
                      LinuxTracker
                      last edited by

                      @phil.davis:

                      Someone who cares needs to contact the package maintainer and see what they intend to do about it (look in Github in pkg_config.8.xml for the email address), then find a way forward.

                      It seemed to me wagonza was maintaining it.
                      Profile: http://forum.pfsense.org/index.php?action=profile;u=24
                      Unbound Thread: http://forum.pfsense.org/index.php/topic,41576.0.html

                      If memory serves, he was having some persistent challenges with Unbound in 2.0.x and was focusing his effort on making it stable in 2.1.
                      Didn't see much problem myself.  Unbound has been one of my most trouble-free packages.

                      Note:
                      To install Unbound on 2.0.1, I right-click© one of the install links (+) on the package installer page and change the install url.
                      As example:

                      https://192.168.1.1/pkg_mgr_install.php?id=Cron
                      

                      becomes

                      https://192.168.1.1/pkg_mgr_install.php?id=Unbound
                      

                      I *think I did this on x64 as well, but it's been a while.

                      1 Reply Last reply Reply Quote 0
                      • T
                        Thermostaten
                        last edited by

                        just try the normal url to your current running 2.1 pfsense.. and then add    /services_unbound.php

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