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

Problem with DNS resolver

Scheduled Pinned Locked Moved General pfSense Questions
64 Posts 7 Posters 4.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
    stephenw10 Netgate Administrator
    last edited by Jun 7, 2024, 12:24 PM

    Yeah the first thing I would do is remove those two failing hosts that don't exist.

    Jun 7 06:41:46	filterdns	37407	failed to resolve host mobile-webview.google.com will retry later again.
    Jun 7 06:41:46	filterdns	37407	failed to resolve host chat-dll.google.com will retry later again.
    
    U 2 Replies Last reply Jun 7, 2024, 12:49 PM Reply Quote 1
    • U
      Unoptanio @Popolou
      last edited by Jun 7, 2024, 12:48 PM

      @Popolou
      Done

      pfSensePlus24.03 2U BareMetal Asrock Industrial IMB-X1314MicroATX
      CPU: i7-13700@5.2GHz, RAM:32GB ECC, n°2 Samsung 870EVO SATA 2.5” SSD 1TB (ZFS) Raid1
      n°3 Intel i225-LM 2500/1000/100Mbps, n°1 NIC Intel i350-T4V2 10/100/1000 Mbps 4*GLAN, n°1 Intel X520-DA2

      1 Reply Last reply Reply Quote 0
      • U
        Unoptanio @stephenw10
        last edited by Jun 7, 2024, 12:49 PM

        @stephenw10
        Done

        pfSensePlus24.03 2U BareMetal Asrock Industrial IMB-X1314MicroATX
        CPU: i7-13700@5.2GHz, RAM:32GB ECC, n°2 Samsung 870EVO SATA 2.5” SSD 1TB (ZFS) Raid1
        n°3 Intel i225-LM 2500/1000/100Mbps, n°1 NIC Intel i350-T4V2 10/100/1000 Mbps 4*GLAN, n°1 Intel X520-DA2

        1 Reply Last reply Reply Quote 1
        • U
          Unoptanio @stephenw10
          last edited by Unoptanio Jun 8, 2024, 7:11 AM Jun 8, 2024, 5:16 AM

          @stephenw10

          Ok!. It seems like everything is working fine now.
          I restarted the PC at 7:00 am.
          After the reboot everything works fine.
          Unbound DNS works.

          In summary: steps to solve the problem

          1. Disabled DHCP Registration in DNS Unbound (caused continuous restarts of the service)
          2. Disable unbound listening on the WAN (caused the service to be restarted twice)
          3. It is recommended to install the latest version of the Unbound DNS service

          4432076f-ac73-46c7-8081-cb3e0ecc06f5-image.png

          7fb3aa30-4148-424f-8cae-591e286786c0-image.png

          pfSensePlus24.03 2U BareMetal Asrock Industrial IMB-X1314MicroATX
          CPU: i7-13700@5.2GHz, RAM:32GB ECC, n°2 Samsung 870EVO SATA 2.5” SSD 1TB (ZFS) Raid1
          n°3 Intel i225-LM 2500/1000/100Mbps, n°1 NIC Intel i350-T4V2 10/100/1000 Mbps 4*GLAN, n°1 Intel X520-DA2

          D J 2 Replies Last reply Jun 8, 2024, 8:27 AM Reply Quote 2
          • D
            darcey @Unoptanio
            last edited by Jun 8, 2024, 8:27 AM

            @Unoptanio said in Problem with DNS resolver:

            In summary: steps to solve the problem

            Disabled DHCP Registration in DNS Unbound (caused continuous restarts of the service)
            Disable unbound listening on the WAN (caused the service to be restarted twice)
            It is recommended to install the latest version of the Unbound DNS service
            

            Good to hear you've sorted it.
            Having unbound serve dns records for DHCP leases is known to cause restarts. I think many here disable it and create static leases for those hosts they do want to resolve.
            I found explicitly selecting listening interfaces often caused problems with unbound not starting. I set it to 'all', relied on firewall default blocking to prevent access where it wasn't desired, no more unbound start-up issues.
            I doubt the upgrade contributed to fixing the issues you were seeing. I reckon it came down solely to the listening interfaces selection!

            1 Reply Last reply Reply Quote 1
            • J
              johnpoz LAYER 8 Global Moderator @Unoptanio
              last edited by Jun 8, 2024, 10:30 AM

              @Unoptanio said in Problem with DNS resolver:

              It is recommended to install the latest version of the Unbound DNS service

              this should be taken care of by just upgrading pfsense - still not understanding how you had both on the system??

              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.7.2, 24.11

              U 1 Reply Last reply Jun 8, 2024, 10:53 AM Reply Quote 0
              • U
                Unoptanio @johnpoz
                last edited by Unoptanio Jun 8, 2024, 10:55 AM Jun 8, 2024, 10:53 AM

                @johnpoz

                Initially I only had version 1.18.0_1 of the unbound DNS.
                After updating to version 1.19.1, despite restarting the PC, the two versions were the same. The next day only version 1.19.1 remained.
                In the meantime, other PC reboots were made

                But isn't it just the log of versions at various times?

                d7d77d0d-9ea6-42c4-baac-a071ef807ac5-image.png

                pfSensePlus24.03 2U BareMetal Asrock Industrial IMB-X1314MicroATX
                CPU: i7-13700@5.2GHz, RAM:32GB ECC, n°2 Samsung 870EVO SATA 2.5” SSD 1TB (ZFS) Raid1
                n°3 Intel i225-LM 2500/1000/100Mbps, n°1 NIC Intel i350-T4V2 10/100/1000 Mbps 4*GLAN, n°1 Intel X520-DA2

                J 1 Reply Last reply Jun 8, 2024, 10:55 AM Reply Quote 0
                • J
                  johnpoz LAYER 8 Global Moderator @Unoptanio
                  last edited by johnpoz Jun 8, 2024, 10:57 AM Jun 8, 2024, 10:55 AM

                  @Unoptanio said in Problem with DNS resolver:

                  After updating to version 1.19.1,

                  And how did you do that exactly? You updated pfsense, you updated packages on pfsense? You installed it on your own? I can not see a way that both would of been on the system at the same time??

                  You should never see this

                  version.jpg

                  There should only ever be 1 version 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.7.2, 24.11

                  U 2 Replies Last reply Jun 8, 2024, 10:57 AM Reply Quote 0
                  • U
                    Unoptanio @johnpoz
                    last edited by Jun 8, 2024, 10:57 AM

                    @johnpoz

                    I haven't updated pfsense.

                    I only updated the unbound DNS service which strangely was not the latest version

                    pfSensePlus24.03 2U BareMetal Asrock Industrial IMB-X1314MicroATX
                    CPU: i7-13700@5.2GHz, RAM:32GB ECC, n°2 Samsung 870EVO SATA 2.5” SSD 1TB (ZFS) Raid1
                    n°3 Intel i225-LM 2500/1000/100Mbps, n°1 NIC Intel i350-T4V2 10/100/1000 Mbps 4*GLAN, n°1 Intel X520-DA2

                    J 1 Reply Last reply Jun 8, 2024, 10:58 AM Reply Quote 0
                    • J
                      johnpoz LAYER 8 Global Moderator @Unoptanio
                      last edited by johnpoz Jun 8, 2024, 11:00 AM Jun 8, 2024, 10:58 AM

                      @Unoptanio said in Problem with DNS resolver:

                      I only updated the unbound DNS service

                      And how did you do that, you ran the package update from cmd line of pfsense - you manually iinstalled a package from outside pfsense repository?

                      What version of pfsense are you running exactly?

                      Pretty sure 2.7.2 came with 19.1, let me fire up my VM.. and check..

                      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.7.2, 24.11

                      1 Reply Last reply Reply Quote 0
                      • U
                        Unoptanio @johnpoz
                        last edited by Unoptanio Jun 8, 2024, 11:06 AM Jun 8, 2024, 11:00 AM

                        @johnpoz

                        If I updated the unbound DNS service at 1.03.49 PM I think it is normal for it to display the old version which was in operation previously at 1.02.36 PM

                        try checking the version with the command:

                        pkg search unbound
                        

                        with this command you only update the unbound DNS service to the version 1.19.1

                         pkg install unbound-1.19.1
                        

                        with this command check if there are any updated system packages available.

                        pkg upgrade
                        

                        pfSensePlus24.03 2U BareMetal Asrock Industrial IMB-X1314MicroATX
                        CPU: i7-13700@5.2GHz, RAM:32GB ECC, n°2 Samsung 870EVO SATA 2.5” SSD 1TB (ZFS) Raid1
                        n°3 Intel i225-LM 2500/1000/100Mbps, n°1 NIC Intel i350-T4V2 10/100/1000 Mbps 4*GLAN, n°1 Intel X520-DA2

                        J 1 Reply Last reply Jun 8, 2024, 11:07 AM Reply Quote 0
                        • J
                          johnpoz LAYER 8 Global Moderator @Unoptanio
                          last edited by Jun 8, 2024, 11:07 AM

                          @Unoptanio yeah the log would show the version from before.. But pretty sure 2.7.2 should of came with 19.1??

                          Oh my bad, seems 2.7.2 shipped with 18, and pkg upgrade updates it

                          makessense.jpg

                          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.7.2, 24.11

                          1 Reply Last reply Reply Quote 1
                          • S
                            stephenw10 Netgate Administrator
                            last edited by Jun 8, 2024, 1:36 PM

                            Mmm, I guess running 'pkg install' somehow left the old version present. Though the output from it looked like it just upgraded it anyway. Which is what I'd expect pkg to do.

                            In that situation you should really have used pkg upgrade unbound.

                            U 1 Reply Last reply Jun 8, 2024, 2:49 PM Reply Quote 0
                            • U
                              Unoptanio @stephenw10
                              last edited by Unoptanio Jun 8, 2024, 2:50 PM Jun 8, 2024, 2:49 PM

                              @stephenw10
                              Does the old version need to be uninstalled somehow? or is that okay?
                              52f7d674-0019-4273-8158-db24f788977a-image.png

                              pfSensePlus24.03 2U BareMetal Asrock Industrial IMB-X1314MicroATX
                              CPU: i7-13700@5.2GHz, RAM:32GB ECC, n°2 Samsung 870EVO SATA 2.5” SSD 1TB (ZFS) Raid1
                              n°3 Intel i225-LM 2500/1000/100Mbps, n°1 NIC Intel i350-T4V2 10/100/1000 Mbps 4*GLAN, n°1 Intel X520-DA2

                              1 Reply Last reply Reply Quote 0
                              • S
                                stephenw10 Netgate Administrator
                                last edited by Jun 8, 2024, 11:02 PM

                                That should be fine. And, just to be clear, I would have expected what you did before to also be fine. pkg shows that it sees that as an upgrade and takes appropriate action.

                                It shouldn't be possible to have two versions on the same pkg installed.

                                1 Reply Last reply Reply Quote 0
                                59 out of 64
                                • First post
                                  59/64
                                  Last post
                                Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                                  This community forum collects and processes your personal information.
                                  consent.not_received