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

    bind package 9.16_12 reads from /cf/named, but changes in the GUI are written to /var/etc/named

    Scheduled Pinned Locked Moved pfSense Packages
    20 Posts 8 Posters 3.8k Views 7 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.
    • T Offline
      tbahn @riso
      last edited by

      @riso I had to check this "off-time": Yes, it still runs after reboot, but it takes minutes for the named service to start.

      I couldn't find anything in the logs, but I assume, it could be the same attempts and timeouts as when I updated the package.

      R 1 Reply Last reply Reply Quote 0
      • T Offline
        tbahn @BlankMan
        last edited by tbahn

        @blankman Where you select "All": the field is labeled "Backup Area". :-)

        I'm no specialist by any means for "bind on pfSense", more a self-educated practitioner. Perhaps someone with more systematic knowledge can aid you further.

        I exclusively used the Bind GUI to setup bind with ACLs, views and some zones. So, it's doable.

        As far as I understand now, this configuration is stored elsewhere and the configuration files under /cf/named are generated, when you save the zones.

        One thing I discovered: You seem to have to save twice: one time in the zone itself, one time in the list of zones. At least, only with this second save (in the table of zones page), the changes are propagated to other DNS servers with slave copies of the zones.

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

          the fix will be in the next BIND version (soon):
          https://redmine.pfsense.org/issues/12869#note-7

          T 1 Reply Last reply Reply Quote 2
          • R Offline
            riso @tbahn
            last edited by

            @tbahn thank you
            in my case, this workaround did not survive the server restart, I had to do it again
            @viktor_g thanks for the quick fix :)

            1 Reply Last reply Reply Quote 0
            • T Offline
              tbahn @viktor_g
              last edited by

              @viktor_g Thank you for fixing and notifying us.

              1 Reply Last reply Reply Quote 0
              • J Offline
                jaltman
                last edited by

                I can confirm that 9.16_13 fixes the problem.
                Thank you.

                1 Reply Last reply Reply Quote 0
                • D Offline
                  dld_r00f
                  last edited by dld_r00f

                  I have inverted situation with BIND.
                  pfSense 2.6.0 with BIND 9.16_12 (10 zones with DNSSEC Inline Signing and Backup Keys flags) work as usual.
                  After upgrading to 9.16_13 it stopped signing DNSSEC. New BIND try to find keys at /var/etc/named/etc/namedb/keys istead of /cf/named/etc/namedb/keys.

                  Stupid situation: I have a working backup with a previous package version. But this is completely useless with the new version of the package. So I can’t just reinstall the system, it won’t work, because the current version of the package is broken.

                  And insanely long BIND loading of course (link).

                  D bingo600B 2 Replies Last reply Reply Quote 0
                  • D Offline
                    dld_r00f @dld_r00f
                    last edited by

                    This post is deleted!
                    1 Reply Last reply Reply Quote 0
                    • bingo600B Offline
                      bingo600 @dld_r00f
                      last edited by

                      @dld_r00f

                      Wouldn't a "quick & ugly" hack be to make a symlink of the existing file to the "wanted file" ??

                      ln -s <existing> <wanted>

                      If you find my answer useful - Please give the post a 👍 - "thumbs up"

                      pfSense+ 23.05.1 (ZFS)

                      QOTOM-Q355G4 Quad Lan.
                      CPU  : Core i5 5250U, Ram : 8GB Kingston DDR3LV 1600
                      LAN  : 4 x Intel 211, Disk  : 240G SAMSUNG MZ7L3240HCHQ SSD

                      D 1 Reply Last reply Reply Quote 0
                      • D Offline
                        dld_r00f @bingo600
                        last edited by

                        @bingo600
                        If you know the problem, then there are many ways to solve it :)
                        I just copied all my dnssec keys to /var/etc/named/etc/namedb/keys. I think the symlink worked too.
                        In my case, I spent about 4 hours to figure out what was causing the problem.

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

                          Redmine issue created:
                          https://redmine.pfsense.org/issues/13002

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