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

    Unbound updated to 1.4.14

    Scheduled Pinned Locked Moved pfSense Packages
    26 Posts 5 Posters 6.7k 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.
    • S
      serialdie
      last edited by

      Thanks wagonza. I do have dns forwarder enable it was the rules and configuration for other systems base on the dns that I relay on unbound.
      Thanks I am here waiting.
      :)

      1 Reply Last reply Reply Quote 0
      • W
        wagonza
        last edited by

        Ahh ok. It is there now so you can update and then at the same time update to 2.0.1 :)

        Follow me on twitter http://twitter.com/wagonza
        http://www.thepackethub.co.za

        1 Reply Last reply Reply Quote 0
        • S
          serialdie
          last edited by

          @wagonza:

          Ahh ok. It is there now so you can update and then at the same time update to 2.0.1 :)

          Well very nice!

          One thing to notice… the same issue that I had the first time around is now back.... unbound is making the system time out when cheeking for updates and or packages....

          I for got last times fix...

          Any ideas?

          Thanks :)

          1 Reply Last reply Reply Quote 0
          • S
            serialdie
            last edited by

            A reboot took care of it :)

            Thanks!!!!!
            :D

            1 Reply Last reply Reply Quote 0
            • W
              wagonza
              last edited by

              Cool - good to hear. Please let me know if you have find any bugs.

              Follow me on twitter http://twitter.com/wagonza
              http://www.thepackethub.co.za

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

                hmmm

                So I updated, looked like everything when good – but

                ; <<>> DiG 9.8.1-P1 <<>> chaos version.bind txt
                ;; global options: +cmd
                ;; Got answer:
                ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 56752
                ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0

                ;; QUESTION SECTION:
                ;version.bind.                  CH      TXT

                ;; ANSWER SECTION:
                version.bind.           0       CH      TXT     "unbound 1.4.12"

                ;; Query time: 5 msec
                ;; SERVER: 192.168.1.253#53(192.168.1.253)
                ;; WHEN: Wed Dec 21 08:58:33 2011
                ;; MSG SIZE  rcvd: 57

                Why is it showing 1.4.12??

                So I did a complete removal -- and then reinstall, and still showing 1.4.12, shouldn't it be 1.4.14??

                great -- so looking with pkg_info notice showing 3 older versions of ubound, .8, .10 and .12 -- so I removed them all with pkg_delete.  Figured would force download of package which it did not seem like it was doing.  Now its not downloading package even with full removal of package.  And now can not get unbound to start.  How do I force the download of the package, or where can I manually download it?

                ok manually found it here
                http://files.pfsense.org/packages/8/All/unbound-1.4.14.tbz

                But got these errors when installed it.

                pkg_add: warning: package 'unbound-1.4.14' requires 'expat-2.0.1_2', but 'expat-2.0.1_1' is installed
                pkg_add: warning: package 'unbound-1.4.14' requires 'ldns-1.6.11', but 'ldns-1.6.10' is installed
                pkg_add: warning: package 'unbound-1.4.14' requires 'libevent-1.4.14b_2', but 'libevent-1.4.14b_1' is installed

                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
                • W
                  wagonza
                  last edited by

                  1.4.14 had new dependancies. As to why all the previous versions were still hanging around I cant say. Will fire up an old VM here that has an outdated version and see if I can replicate.

                  Follow me on twitter http://twitter.com/wagonza
                  http://www.thepackethub.co.za

                  1 Reply Last reply Reply Quote 0
                  • marcellocM
                    marcelloc
                    last edited by

                    You can try to remove it's packages with pkg_del but be carefull with package dependencies.

                    After removing it, reinstall package.

                    Treinamentos de Elite: http://sys-squad.com

                    Help a community developer! ;D

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

                      Yeah I could force a delete of the old packages and then install the current ones, but as you mention doesn't that break dependencies?

                      How are you suppose to correctly update these packages?  So that you maintain dependencies?

                      I have the 1.4.14 installed and it seems to be working with the old packages, but something is broke if the the other packages don't get updated as well if you ask me.

                      And even when I removed the old unbound packages, using the package manager in pfsense did not seem to download the current unbound package I had to manually install it with pkg_add -r url

                      edit:
                      hmmm, take it back that everything is working.. Does not seem to want to listen on loopback for ipv4 or ipv6..  I have unchecked the interface saved, and rechecked and then saved and then restarted and only listening on 127.0.0.1 for control on port 953.

                      Looks like going to have to manually edit config to get it to work, or use advanced options?

                      Ok if just pick loopback it listens on loopback, but if pick both interfaces lan and loopback it only listens on lan

                      interfacesunbound.png_thumb
                      interfacesunbound.png

                      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
                      • marcellocM
                        marcelloc
                        last edited by

                        Yeah I could force a delete of the old packages and then install the current ones, but as you mention doesn't that break dependencies?

                        When you try to delete some package that has dependencies, freebsd lists you dependecies and abort pkg_delete.

                        Treinamentos de Elite: http://sys-squad.com

                        Help a community developer! ;D

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

                          yeah I agree so how do you update expat-2.0.1_1 to expat-2.0.1_2

                          if you force delete of expat-2.0.1_1, don't you break dependencies so even if you install expat-2.0.1_2 the dependencies are broken, so then I could delete expat-2.0.1_2 without warning that others depend on it, etc.

                          Same goes for the other 2 packages that 1.4.14 wants newer versions of.

                          edit: btw I got it to listen on loopback by manual edit of /usr/local/etc/unbound/unbound.conf and then restart of services.

                          Now its bound to both lan ipv4 and v6 and loopback ipv4 and v6

                          tcp6      0      0 ::1.53                .                    LISTEN
                          tcp4      0      0 127.0.0.1.53          .                    LISTEN
                          tcp6      0      0 2001:470:xxxx:b8.53    .                    LISTEN
                          tcp4      0      0 192.168.1.253.53      .                    LISTEN

                          udp6      0      0 ::1.53                .
                          udp4      0      0 127.0.0.1.53          .
                          udp6      0      0 2001:470:xxxx:b8.53    .
                          udp4      0      0 192.168.1.253.53      .

                          But using the unbound gui to listen on both lan and loopback does not seem to work

                          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
                          • W
                            wagonza
                            last edited by

                            You mentioned the control 953 - that only listens on 127.0.0.1 but I am assuming you meant 53 does not want to listen on loopback?
                            Ill check it out shortly.

                            As to the dependancies there might be other packages, that you have installed, that depend on them so they wont be deleted.

                            Follow me on twitter http://twitter.com/wagonza
                            http://www.thepackethub.co.za

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

                              yeah control listens on loopback at 953

                              tcp4       0      0 127.0.0.1.953          .                    LISTEN

                              But it will not come up listening on .53 unless I manually edit the conf file.

                              here are what I show as dependent on those packages.

                              Information for expat-2.0.1_1:
                              Comment:
                              XML 1.0 parser written in C
                              Required by:
                              git-1.7.1.1
                              fontconfig-2.8.0,1
                              unbound-1.4.14

                              The other 2 only show unbound needing them, so I could update those.  I don't recall every manually installing fontconfig?  But don't show anything depend on it.. So could delete and reinstall, but git I kind of need ;) with running 2.1 ;)

                              edit: on a side note is http://files.pfsense.org down??  I can not seem to get to the packages dir.

                              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
                              • W
                                wagonza
                                last edited by

                                Ok package updated. It was an old bug which i fixed which then subsequently broke the loopback stuff.
                                files.pfsense.org is down at the moment. cmb is trying to sort it out.

                                Follow me on twitter http://twitter.com/wagonza
                                http://www.thepackethub.co.za

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

                                  so when files comes back up will it be 1.4.14_01?  What about the dependency things – is this something I need to fix outside of the package gui?  Or should updating unbound also update those other packages?

                                  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
                                  • W
                                    wagonza
                                    last edited by

                                    Yeah don't worry about those and Installing any package will download the required dependencies.

                                    Files.pfsense.org is back up so just reinstall the package.

                                    Follow me on twitter http://twitter.com/wagonza
                                    http://www.thepackethub.co.za

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

                                      Ok that seems to have fixed it, now it listens on both lan and loop when both selected in the gui

                                      Thanks!

                                      But I did not see it download the actual package .tbz file – guess I could completely uninstall it and then check with pkg_info to see if unbound its gets removed and if it then download loads it.

                                      But since it working and on current version I think will leave it until 1.4.15 comes out to test ;)

                                      Thanks again for the fix!

                                      But kind of curious still about the out of sync other packages.

                                      So 1.4.14 says it needs expat-2.0.1_2, but have _1 installed -- can I force removal and then install _2 -- but could that break git, cuz I use that like once a week when new changes come out.

                                      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
                                      • First post
                                        Last post
                                      Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.