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

    "unbound mode" vs "unbound python mode"

    Scheduled Pinned Locked Moved pfBlockerNG
    9 Posts 3 Posters 3.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.
    • N Offline
      netboy
      last edited by

      I changed the mode from "unbound mode" to "unbound python mode" and all of a sudden the DNS in browser is not working! Any tips ?

      keyserK 1 Reply Last reply Reply Quote 0
      • keyserK Online
        keyser Rebel Alliance @netboy
        last edited by

        @netboy Try and restart the Unbound service. I have seen errors where the unload/reload of of unbound took to long when changing the working method, and caused unbound to fail.

        Love the no fuss of using the official appliances :-)

        N 1 Reply Last reply Reply Quote 0
        • N Offline
          netboy @keyser
          last edited by netboy

          @keyser said in "unbound mode" vs "unbound python mode":

          Try and restart the Unbound service

          I did restarrt -> all no luck. Finally had to revert back to "Unbound mode".

          Why is this happening - Unbound Python mode is supposed to be faster "in theory" but does not work

          keyserK 1 Reply Last reply Reply Quote 0
          • keyserK Online
            keyser Rebel Alliance @netboy
            last edited by keyser

            @netboy Okay, then I think it sound like you have not asked pfBlockerNG to reload and update after changing the setting to unbound python mode. As far as I remember it needs to rebuild how it interacts with Unbound when you change the setting. That is done by doing the pfBlockerNG reload (that also reloads unbound in turn).

            Just to be clear - it does work - thousands and thousands of installations use that setting are running around the world. I myself have control over a hundred right now that has been running for years in “unbound python mode”. So we need to figure out why it’s not working in your setup right now.

            Love the no fuss of using the official appliances :-)

            N 1 Reply Last reply Reply Quote 0
            • N Offline
              netboy @keyser
              last edited by

              @keyser said in "unbound mode" vs "unbound python mode":

              Okay, then I think it sound like you have not asked pfBlockerNG to reload and update after changing the setting to unbound python mode

              not true - this is exactly what i did - i did a RELOAD -> ALL -> RUN a74b089d-ccbf-44af-8a28-2e17f23969fd-CleanShot 2026-03-13 at 17.26.06.png

              keyserK 1 Reply Last reply Reply Quote 0
              • keyserK Online
                keyser Rebel Alliance @netboy
                last edited by

                @netboy Okay.. then I’m afraid I don’t exactly know what to do next.
                There are lots of pfBlockerNG experts on this forum, so hopefully someone else can diagnose this quickly for you.

                Love the no fuss of using the official appliances :-)

                N 1 Reply Last reply Reply Quote 0
                • N Offline
                  netboy @keyser
                  last edited by netboy

                  @keyser I am not an expert in pfBlockerNG as well.

                  My understandint is "Unbound using python" parses the dns texts and mappings in memory and and is faster! based on this "assumption" i changed to python and off course reloaded using option

                  reload -> all. -> run

                  and immeidatly all my public websites refused to load. I can only describe the symptoms

                  SteveITSS keyserK 2 Replies Last reply Reply Quote 0
                  • SteveITSS Offline
                    SteveITS Rebel Alliance @netboy
                    last edited by

                    @netboy In DNS Resolver settings, is "Enable Python Module" checked?

                    Python mode is generally recommended as, for instance, there are many posts about kea2unbound or other types of out of memory errors.

                    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
                    • keyserK Online
                      keyser Rebel Alliance @netboy
                      last edited by

                      @netboy I understand. A good guess since your websites (internetaccess) no longer works is that DNS stops working.
                      That in turn suggests that Unbound (pfSense’s built in DNS server stopped working when attempting to start with the pfBlockerNG integration engaged.

                      Try and check that Unbound have the python integration llisted in its config:
                      706e4866-9e8e-4e8d-b9e3-55bb35f219bf-image.png

                      Next thing would be to look into the STATUS -> SYSTEM LOGS -> GENERAL/RESOLVER log and see if Unbound is spitting some usefull info into there

                      Love the no fuss of using the official appliances :-)

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