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

    Is this normal behavior for the Resolver to act that way?

    Scheduled Pinned Locked Moved General pfSense Questions
    51 Posts 4 Posters 4.4k 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.
    • M
      marchand.guy @johnpoz
      last edited by

      @johnpoz Looks good:
      e7dcbd4f-c1b9-4e07-ac3c-c534b7f1cc81-Screenshot from 2025-05-30 11-56-16.png file:///home/guy/Downloads/Screenshot%20from%202025-05-30%2011-56-16.png

      1 Reply Last reply Reply Quote 0
      • M
        marchand.guy @stephenw10
        last edited by

        @stephenw10 I tried the openvpn client seeting on not pulling route. It did not clear the problem. Furthermore, the gateway monitoring function for the vpn interface stopped working properly.
        But your suggestion remains valid concerning the routing. Still investigating.

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

          @marchand-guy not sure what there is to "investigate" just look in your routing table. take all of 2 seconds

          routes.jpg

          Unless you have a more specific route for your NS your pointing to - its going to go out the default route.

          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

          M 1 Reply Last reply Reply Quote 0
          • M
            marchand.guy @johnpoz
            last edited by

            @johnpoz said in Is this normal behavior for the Resolver to act that way?:

            @marchand-guy not sure what there is to "investigate"
            Semantics...

            Looks fine to me but we don't have the same version, so:
            69d1cf2e-abb4-4e31-aa03-c1a47a304b3b-Screenshot from 2025-05-30 12-54-37.png file:///home/guy/Downloads/Screenshot%20from%202025-05-30%2012-54-37.png

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

              @marchand-guy well from that there its not routing traffic out any vpn..

              I have 2.8 running now and could test.. But I can tell you with like 99.9% certainty I will not be able to duplicate it.. Because if 2.8 broke dns resolution with users that use vpn - the forums would be on fire with people complaining. So pretty sure whatever your issue is unique to your setup.

              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

              M 1 Reply Last reply Reply Quote 0
              • M
                marchand.guy @johnpoz
                last edited by

                @johnpoz Agreed!
                Thank you, again ๐Ÿ‘

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

                  It only happens after reboot though and restarting unbound after boot corrects it. So that suggests that the default route is wrong when Unbound initially opens the outbound state during boot only. For some reason!

                  M 2 Replies Last reply Reply Quote 0
                  • M
                    marchand.guy @stephenw10
                    last edited by

                    @stephenw10 Exactly. Still investigating.

                    1 Reply Last reply Reply Quote 1
                    • M
                      marchand.guy @stephenw10
                      last edited by marchand.guy

                      @stephenw10 So, I removed every packages, every openvpn clients (and associated interface, NAT and rules. Every rules and NAT forwarding related to DoT.
                      What remained for me was to put the NAT rules to automatic instead of manual. Since I upgraded to 2.8 CE from 2.7.2 the rules went from (forget the VPN1 interface, it was removed. this is an old picture):
                      52d32bb2-092f-4439-b896-9f23584124ce-image.png

                      To:
                      71448371-681d-48a9-9185-a429fd107862-image.png

                      I then made sure to only select the DNS interfaces as follow:
                      Network interface LAN, Localhost
                      Outgoing network interface WAN, Localhost

                      And rebooted the FW.

                      This setting breaks the resolution sevice on the LAN side, as no internet sites are acessible via browser or apps.

                      Until I manually restart the unbound service. Then everything works.

                      At this point, I'm troying the towel and leaving the interfaces used for DNS at their defaul values; which is "All" for both settings. Everything works after that with a reboot.

                      F**k you OCD monkey! ๐Ÿ˜Š

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

                        Hmm, so it still failed at boot with outbound NAT set to automatic?

                        T 1 Reply Last reply Reply Quote 0
                        • T
                          Tonyp89 @stephenw10
                          last edited by

                          @stephenw10 said in Is this normal behavior for the Resolver to act that way?:

                          Hmm, so it still failed at boot with outbound NAT set to automatic?

                          I wonder if you have ever seen this in the system log after a boot or reboot
                          php-fpm 589 /rc.newwanipv6: Gateway, NONE AVAILABLE
                          I have every time and I only have one wan;gateway;ISP set DHCP.

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

                            Yeah that's normal if you don't have a v6 gateway defined. It shouldn't cause a problem.

                            T 1 Reply Last reply Reply Quote 0
                            • T
                              Tonyp89 @stephenw10
                              last edited by

                              @stephenw10 System/routing/gateways default gateway set Automatic
                              and also tried WAN_DHCP both get no default route found and the no gateway. Also, have outbound mode set on Automatic outbound NAT rule too.
                              If I wait long enough (1-5mins) it just finds a route/gateway by itself usually. Until it does dns queries fail which is a problem.

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

                                For IPv6 specifically?

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