• 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 5.1k 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.
  • D
    darcey @fireodo
    last edited by Jun 6, 2024, 8:41 AM

    @fireodo My 2.7.2CE install is also currently on unbound-1.18.0_1

    [2.7.2-RELEASE][root@fw.local.lan]/root: pkg search unbound
    unbound-1.19.1                 Validating, recursive, and caching DNS resolver
    [2.7.2-RELEASE][root@fw.local.lan]/root: pkg info | grep unbound
    unbound-1.18.0_1               Validating, recursive, and caching DNS resolver
    

    When might it pull in the updated package, other than explicit upgrade via the cmdline?

    F 1 Reply Last reply Jun 6, 2024, 9:01 AM Reply Quote 0
    • F
      fireodo @Unoptanio
      last edited by fireodo Jun 6, 2024, 9:06 AM Jun 6, 2024, 8:42 AM

      @Unoptanio said in Problem with DNS resolver:

      What version of pfsense is Unbound 1.18.0_1 from?

      I guess 2.7.1 (not shure)

      I have a script (see attachment - change .zip to .php) that looks via cronjob if there are some updates. (The script is from @Gertjan if I remember well) pkg_check.zip
      The cronjob looks loke this:

      /usr/bin/nice -n20 /usr/local/bin/php -q /root/bin/pkg_check.php | logger
      

      Edit: In my case the location of the script is in /root/bin (directory I have created) - put the script in your case where you wish ...

      Tanti auguri :-)

      Kettop Mi4300YL CPU: i5-4300Y @ 1.60GHz RAM: 8GB Ethernet Ports: 4
      SSD: SanDisk pSSD-S2 16GB (ZFS) WiFi: WLE200NX
      pfsense 2.8.0 CE
      Packages: Apcupsd, Cron, Iftop, Iperf, LCDproc, Nmap, pfBlockerNG, RRD_Summary, Shellcmd, Snort, Speedtest, System_Patches.

      U 2 Replies Last reply Jun 6, 2024, 8:44 AM Reply Quote 1
      • U
        Unoptanio @fireodo
        last edited by Jun 6, 2024, 8:44 AM

        @fireodo
        So is it a bug in 2.7.2 that doesn't update unbound DNS?

        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

        F 1 Reply Last reply Jun 6, 2024, 8:47 AM Reply Quote 0
        • F
          fireodo @Unoptanio
          last edited by fireodo Jun 6, 2024, 8:49 AM Jun 6, 2024, 8:47 AM

          @Unoptanio said in Problem with DNS resolver:

          So is it a bug in 2.7.2 that doesn't update unbound DNS?

          No thats not a bug - if some changes where needed in unbound that occure AFTER release of 2.7.2 thats the only way to handle it - as far as I know!

          PS.: Is unbound still restarting?

          Kettop Mi4300YL CPU: i5-4300Y @ 1.60GHz RAM: 8GB Ethernet Ports: 4
          SSD: SanDisk pSSD-S2 16GB (ZFS) WiFi: WLE200NX
          pfsense 2.8.0 CE
          Packages: Apcupsd, Cron, Iftop, Iperf, LCDproc, Nmap, pfBlockerNG, RRD_Summary, Shellcmd, Snort, Speedtest, System_Patches.

          1 Reply Last reply Reply Quote 0
          • U
            Unoptanio @fireodo
            last edited by Unoptanio Jun 6, 2024, 8:51 AM Jun 6, 2024, 8:50 AM

            @fireodo

            during my lunch break in about two hours I will reboot the system

            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

            F 1 Reply Last reply Jun 6, 2024, 8:53 AM Reply Quote 0
            • F
              fireodo @Unoptanio
              last edited by Jun 6, 2024, 8:53 AM

              @Unoptanio said in Problem with DNS resolver:

              during my lunch break in about two hours I will reboot the system

              👍

              Kettop Mi4300YL CPU: i5-4300Y @ 1.60GHz RAM: 8GB Ethernet Ports: 4
              SSD: SanDisk pSSD-S2 16GB (ZFS) WiFi: WLE200NX
              pfsense 2.8.0 CE
              Packages: Apcupsd, Cron, Iftop, Iperf, LCDproc, Nmap, pfBlockerNG, RRD_Summary, Shellcmd, Snort, Speedtest, System_Patches.

              U 1 Reply Last reply Jun 6, 2024, 11:09 AM Reply Quote 0
              • F
                fireodo @darcey
                last edited by Jun 6, 2024, 9:01 AM

                @darcey said in Problem with DNS resolver:

                When might it pull in the updated package, other than explicit upgrade via the cmdline?

                See my answer with the script inside - this kind of upgrade you have to do manually.

                Kettop Mi4300YL CPU: i5-4300Y @ 1.60GHz RAM: 8GB Ethernet Ports: 4
                SSD: SanDisk pSSD-S2 16GB (ZFS) WiFi: WLE200NX
                pfsense 2.8.0 CE
                Packages: Apcupsd, Cron, Iftop, Iperf, LCDproc, Nmap, pfBlockerNG, RRD_Summary, Shellcmd, Snort, Speedtest, System_Patches.

                D 1 Reply Last reply Jun 6, 2024, 9:04 AM Reply Quote 0
                • D
                  darcey @fireodo
                  last edited by Jun 6, 2024, 9:04 AM

                  @fireodo Thanks, I'd completely forgotten about this. It seems on my system, unbound and curl have updates available.
                  Still I think I am going to leave it as is as things are running very smoothly for me of late.

                  F 1 Reply Last reply Jun 6, 2024, 9:08 AM Reply Quote 0
                  • F
                    fireodo @darcey
                    last edited by fireodo Jun 6, 2024, 9:08 AM Jun 6, 2024, 9:08 AM

                    @darcey said in Problem with DNS resolver:

                    Still I think I am going to leave it as is as things are running very smoothly for me of late.

                    Never change a running system ... old wisdom 😀
                    (curl has a security issue so I recommend to upgrade)

                    Kettop Mi4300YL CPU: i5-4300Y @ 1.60GHz RAM: 8GB Ethernet Ports: 4
                    SSD: SanDisk pSSD-S2 16GB (ZFS) WiFi: WLE200NX
                    pfsense 2.8.0 CE
                    Packages: Apcupsd, Cron, Iftop, Iperf, LCDproc, Nmap, pfBlockerNG, RRD_Summary, Shellcmd, Snort, Speedtest, System_Patches.

                    1 Reply Last reply Reply Quote 1
                    • U
                      Unoptanio @fireodo
                      last edited by Jun 6, 2024, 11:09 AM

                      @fireodo

                      After restart system

                      1b69725c-d044-4d74-80fc-215d75b1fe68-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

                      G F 2 Replies Last reply Jun 6, 2024, 11:15 AM Reply Quote 0
                      • G
                        Gertjan @Unoptanio
                        last edited by Jun 6, 2024, 11:15 AM

                        @Unoptanio

                        That's unbound in permanent restart mode !
                        You can stop that now, as the test succeeded.

                        To stop the testing :
                        Uncheck :

                        1f41ac53-2bb6-431e-8c5a-dccf4c3d70f0-image.png

                        Save, and Apply.

                        ( I'm trying a new solution to a 10+ year old question )

                        No "help me" PM's please. Use the forum, the community will thank you.
                        Edit : and where are the logs ??

                        U 1 Reply Last reply Jun 6, 2024, 12:19 PM Reply Quote 1
                        • F
                          fireodo @Unoptanio
                          last edited by fireodo Jun 6, 2024, 11:52 AM Jun 6, 2024, 11:33 AM

                          @Unoptanio said in Problem with DNS resolver:

                          After restart system

                          😧

                          Do you have the register dhcp-leases in dns resolver (as gertjan indicates) on?

                          Kettop Mi4300YL CPU: i5-4300Y @ 1.60GHz RAM: 8GB Ethernet Ports: 4
                          SSD: SanDisk pSSD-S2 16GB (ZFS) WiFi: WLE200NX
                          pfsense 2.8.0 CE
                          Packages: Apcupsd, Cron, Iftop, Iperf, LCDproc, Nmap, pfBlockerNG, RRD_Summary, Shellcmd, Snort, Speedtest, System_Patches.

                          1 Reply Last reply Reply Quote 1
                          • U
                            Unoptanio @Gertjan
                            last edited by Unoptanio Jun 6, 2024, 12:26 PM Jun 6, 2024, 12:19 PM

                            @Gertjan

                            Done now at 2.18pm

                            edc6b2b9-d797-4981-9ba5-4c5a57581db5-image.png

                            Now I try to disable DHCP Registration

                            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 6, 2024, 12:22 PM

                              Run pkg upgrade to check if there are any updated system packages available.

                              We build newer versions of packages if they are available with fixes for specific issues that users may be hitting. They are then available to upgrade to but these are not expected or required upgrades.

                              In the instance that upgrades are required for security issues we would usually either issues an announcement or a point release of pfSense depending on the severity.

                              I would not expect the Unbound version to be the issue here. But it also doesn't hurt to update it and it's an easy test. 😉

                              Steve

                              U 1 Reply Last reply Jun 6, 2024, 12:31 PM Reply Quote 1
                              • U
                                Unoptanio @stephenw10
                                last edited by Unoptanio Jun 6, 2024, 12:32 PM Jun 6, 2024, 12:31 PM

                                @stephenw10 said in Problem with DNS resolver:

                                pkg upgrade

                                [2.7.2-RELEASE][admin@xxxxx]/root: pkg upgrade
                                Updating pfSense-core repository catalogue...
                                Fetching meta.conf:   0%
                                Fetching packagesite.pkg:   0%
                                pfSense-core repository is up to date.
                                Updating pfSense repository catalogue...
                                Fetching meta.conf:   0%
                                Fetching packagesite.pkg:   0%
                                pfSense repository is up to date.
                                All repositories are up to date.
                                Checking for upgrades (3 candidates): 100%      3 B   0.0kB/s    00:01
                                Processing candidates (3 candidates): 100%      3 B   0.0kB/s    00:01
                                The following 1 package(s) will be affected (of 0 checked):
                                
                                Installed packages to be UPGRADED:
                                        curl: 8.4.0 -> 8.6.0 [pfSense]
                                
                                Number of packages to be upgraded: 1
                                
                                1 MiB to be downloaded.
                                
                                Proceed with this action? [y/N]:
                                
                                

                                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 6, 2024, 1:14 PM

                                  Yup, you can upgrade curl. But not upgrading it should not be an issue.

                                  U 1 Reply Last reply Jun 6, 2024, 4:02 PM Reply Quote 0
                                  • U
                                    Unoptanio @stephenw10
                                    last edited by Jun 6, 2024, 4:02 PM

                                    @stephenw10

                                    disabled DHCP Registration

                                    Rebooted the system and the problem recurred. unbound DNS Does not resolve

                                    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 6, 2024, 4:03 PM

                                      And it's still just continually restarting?

                                      Is there anything in the main system log that's looping? Something else could be restarting Unbound.

                                      U 1 Reply Last reply Jun 6, 2024, 4:04 PM Reply Quote 0
                                      • U
                                        Unoptanio @stephenw10
                                        last edited by Unoptanio Jun 6, 2024, 4:08 PM Jun 6, 2024, 4:04 PM

                                        @stephenw10
                                        924aee13-1129-4e65-9f38-85d5bfc5097e-image.png

                                        I stopped the service and restarted it and it worked right away.

                                        But in the service list it always showed it running green even when it's not working
                                        91c7f419-6668-4f6b-a69d-b932b45d6d27-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 6, 2024, 5:07 PM Reply Quote 0
                                        • S
                                          stephenw10 Netgate Administrator
                                          last edited by Jun 6, 2024, 4:13 PM

                                          And in the main system log?

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