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

    DNS Resolver : Pfsense re-install

    Scheduled Pinned Locked Moved General pfSense Questions
    16 Posts 4 Posters 1.9k 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.
    • stephenw10S
      stephenw10 Netgate Administrator
      last edited by

      So clients just stop being able to resolve? Does the service actually stop? Anything logged when that happens?

      K 1 Reply Last reply Reply Quote 0
      • K
        Khampol @stephenw10
        last edited by

        @stephenw10 This is the problem : the service didn't stop, all looks ok but some website cannot be load, so I just restart the DNS Resolver then all back to normal. I didn't note the time happen so cannot see clear in log.
        Btw I use [pfBlockerNG], could it be in concern in my case ?

        stephenw10S S 2 Replies Last reply Reply Quote 0
        • stephenw10S
          stephenw10 Netgate Administrator @Khampol
          last edited by

          @Khampol said in DNS Resolver : Pfsense re-install:

          I use [pfBlockerNG], could it be in concern in my case ?

          It could be. It depends how it fails at the client. Does it specifically show a DNS error in the browser?

          If you try to ping some host b FQDN does it fail? What error is shown there?

          K 1 Reply Last reply Reply Quote 0
          • K
            Khampol @stephenw10
            last edited by

            @stephenw10 I find this somewhere

            pfSsh.php playback svc restart unbound
            

            This could restart the DNS Resolver ? If I put this in a CRON, every day? It should do the trick no ;) ?

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

              It would restart it, yes. Seems like papering over the issue though.

              K 2 Replies Last reply Reply Quote 0
              • K
                Khampol @stephenw10
                last edited by

                @stephenw10 Great, thanx.

                Seems like papering over the issue though.
                

                Yes, :>

                1 Reply Last reply Reply Quote 0
                • S
                  SteveITS Galactic Empire @Khampol
                  last edited by

                  @Khampol said in DNS Resolver : Pfsense re-install:

                  @stephenw10 This is the problem : the service didn't stop, all looks ok but some website cannot be load, so I just restart the DNS Resolver then all back to normal.

                  Are you forwarding DNS? If so ensure DNSSEC is disabled.

                  Btw I use [pfBlockerNG], could it be in concern in my case ?

                  Unlikely but maybe out of memory or something. Try disabling it.

                  Pre-2.7.2/23.09: Only install packages for your version, or risk breaking it. Select your branch in System/Update/Update Settings.
                  When upgrading, allow 10-15 minutes to restart, or more depending on packages and device speed.
                  Upvote ๐Ÿ‘ helpful posts!

                  K 1 Reply Last reply Reply Quote 0
                  • K
                    Khampol @SteveITS
                    last edited by Khampol

                    @SteveITS

                    Are you forwarding DNS? If so ensure DNSSEC is disabled.
                    

                    Nope. (It's disable)

                    Unlikely but maybe out of memory or something. Try disabling it.
                    

                    I do not think so, see :
                    77db4f20-f07e-462d-a3bb-e7b9c0f325d4-image.png
                    And please, I cannot live without it! Web nowaday is polluted ๐Ÿ˜“

                    1 Reply Last reply Reply Quote 0
                    • K
                      Khampol @stephenw10
                      last edited by

                      @stephenw10
                      I input this
                      48d2c9c5-ce4d-4f24-b226-142154eccca3-image.png
                      Hope it is correct ? Please correct me if i'm wrong. Thx ๐Ÿ˜‰

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

                        Probably OK. You might need to call the php binary directly. Make sure it runs. Check the logs and see.

                        K 1 Reply Last reply Reply Quote 0
                        • K
                          Khampol @stephenw10
                          last edited by

                          @stephenw10 said in DNS Resolver : Pfsense re-install:

                          You might need to call the php binary directly

                          Please could you explain? The command maybe?

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

                            So like:
                            /usr/local/bin/php -f /usr/local/sbin/pfSsh.php playback svc restart unbound

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