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

    Unbound crashes periodically with signal 11

    2.5 Development Snapshots (Retired)
    36
    105
    30.5k
    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.
    • GertjanG
      Gertjan @maverick_slo
      last edited by Gertjan

      @maverick_slo

      If it still exists, and is checked : uncheck

      5835e428-dcbb-44a4-bd57-e5d0abf51361-image.png

      edit : I'm not using 2.5.0 myself.

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

      M 1 Reply Last reply Reply Quote 0
      • N
        n8it
        last edited by

        DHCP logs do show DHCP is sending a HUP to DNS daemon. It happens more than 12 times a day. Thanks for telling me to check.

        code_text
        2021-01-21 06:10:05.551715+00:00 	dhcpd 	49502 	DHCPACK on 192.168.1.89 to 04:79:b7:ad:9c:7a via igb1
        2021-01-21 06:10:05.551693+00:00 	dhcpd 	49502 	DHCPREQUEST for 192.168.1.89 from 04:79:b7:ad:9c:7a via igb1
        2021-01-21 06:07:14.269409+00:00 	dhcpleases 	35662 	Sending HUP signal to dns daemon(43713)
        2021-01-21 06:07:14.253979+00:00 	dhcpd 	49502 	DHCPACK on 192.168.1.101 to ac:5f:3e:fe:91:3e (DesGS7) via igb1
        2021-01-21 06:07:14.252255+00:00 	dhcpd 	49502 	DHCPREQUEST for 192.168.1.101 from ac:5f:3e:fe:91:3e (DesGS7) via igb1
        2021-01-21 06:06:52.752895+00:00 	dhcpleases 	35662 	Sending HUP signal to dns daemon(43713)
        2021-01-21 06:06:52.738449+00:00 	dhcpleases 	35662 	Sending HUP signal to dns daemon(43713)
        2021-01-21 06:06:52.721929+00:00 	dhcpd 	49502 	Server starting service.
        2021-01-21 06:06:52.721763+00:00 	dhcpd 	49502 	Sending on Socket/fallback/fallback-net
        2021-01-21 06:06:52.721705+00:00 	dhcpd 	49502 	Sending on BPF/igb1/40:62:31:0a:d9:7b/192.168.1.0/24
        2021-01-21 06:06:52.721631+00:00 	dhcpd 	49502 	Listening on BPF/igb1/40:62:31:0a:d9:7b/192.168.1.0/24
        2021-01-21 06:06:52.721562+00:00 	dhcpd 	49502 	Sending on BPF/igb2/40:62:31:0a:d9:7c/192.168.100.0/24
        2021-01-21 06:06:52.721536+00:00 	dhcpd 	49502 	Listening on BPF/igb2/40:62:31:0a:d9:7c/192.168.100.0/24
        2021-01-21 06:06:52.719470+00:00 	dhcpd 	49502 	Wrote 24 leases to leases file.
        2021-01-21 06:06:52.719236+00:00 	dhcpd 	49502 	Wrote 0 new dynamic host decls to leases file.
        2021-01-21 06:06:52.719187+00:00 	dhcpd 	49502 	Wrote 0 deleted host decls to leases file.
        2021-01-21 06:06:52.719107+00:00 	dhcpd 	49502 	Wrote 0 class decls to leases file.
        2021-01-21 06:06:52.718612+00:00 	dhcpd 	49502 	For info, please visit https://www.isc.org/software/dhcp/
        2021-01-21 06:06:52.718602+00:00 	dhcpd 	49502 	All rights reserved.
        2021-01-21 06:06:52.718593+00:00 	dhcpd 	49502 	Copyright 2004-2020 Internet Systems Consortium.
        2021-01-21 06:06:52.718582+00:00 	dhcpd 	49502 	Internet Systems Consortium DHCP Server 4.4.2
        2021-01-21 06:06:52.718525+00:00 	dhcpd 	49502 	PID file: /var/run/dhcpd.pid
        2021-01-21 06:06:52.718493+00:00 	dhcpd 	49502 	Database file: /var/db/dhcpd.leases
        2021-01-21 06:06:52.718428+00:00 	dhcpd 	49502 	Config file: /etc/dhcpd.conf
        2021-01-21 06:06:52.716270+00:00 	dhcpd 	49502 	For info, please visit https://www.isc.org/software/dhcp/
        2021-01-21 06:06:52.716232+00:00 	dhcpd 	49502 	All rights reserved.
        2021-01-21 06:06:52.716207+00:00 	dhcpd 	49502 	Copyright 2004-2020 Internet Systems Consortium.
        2021-01-21 06:06:52.716056+00:00 	dhcpd 	49502 	Internet Systems Consortium DHCP Server 4.4.2
        2021-01-21 06:06:51.481598+00:00 	dhcpleases 	35662 	Could not deliver signal HUP to process 30993: No such process.
        2021-01-21 06:06:51.481494+00:00 	dhcpleases 	35662 	Sending HUP signal to dns daemon(30993)
        2021-01-21 06:00:48.433505+00:00 	dhcpleases 	23469 	Sending HUP signal to dns daemon(30993)
        2021-01-21 06:00:48.419710+00:00 	dhcpd 	36710 	Server starting service.
        2021-01-21 06:00:48.419547+00:00 	dhcpd 	36710 	Sending on Socket/fallback/fallback-net
        2021-01-21 06:00:48.419432+00:00 	dhcpd 	36710 	Sending on BPF/igb1/40:62:31:0a:d9:7b/192.168.1.0/24
        2021-01-21 06:00:48.419387+00:00 	dhcpd 	36710 	Listening on BPF/igb1/40:62:31:0a:d9:7b/192.168.1.0/24
        2021-01-21 06:00:48.419220+00:00 	dhcpd 	36710 	Sending on BPF/igb2/40:62:31:0a:d9:7c/192.168.100.0/24
        2021-01-21 06:00:48.419168+00:00 	dhcpd 	36710 	Listening on BPF/igb2/40:62:31:0a:d9:7c/192.168.100.0/24
        2021-01-21 06:00:48.416935+00:00 	dhcpd 	36710 	Wrote 24 leases to leases file.
        2021-01-21 06:00:48.416727+00:00 	dhcpd 	36710 	Wrote 0 new dynamic host decls to leases file.
        2021-01-21 06:00:48.416680+00:00 	dhcpd 	36710 	Wrote 0 deleted host decls to leases file.
        2021-01-21 06:00:48.416615+00:00 	dhcpd 	36710 	Wrote 0 class decls to leases file.
        2021-01-21 06:00:48.416054+00:00 	dhcpd 	36710 	For info, please visit https://www.isc.org/software/dhcp/
        2021-01-21 06:00:48.416044+00:00 	dhcpd 	36710 	All rights reserved.
        2021-01-21 06:00:48.416035+00:00 	dhcpd 	36710 	Copyright 2004-2020 Internet Systems Consortium.
        2021-01-21 06:00:48.416024+00:00 	dhcpd 	36710 	Internet Systems Consortium DHCP Server 4.4.2
        2021-01-21 06:00:48.415966+00:00 	dhcpd 	36710 	PID file: /var/run/dhcpd.pid
        2021-01-21 06:00:48.415930+00:00 	dhcpd 	36710 	Database file: /var/db/dhcpd.leases
        2021-01-21 06:00:48.415865+00:00 	dhcpd 	36710 	Config file: /etc/dhcpd.conf
        2021-01-21 06:00:48.413782+00:00 	dhcpd 	36710 	For info, please visit https://www.isc.org/software/dhcp/
        2021-01-21 06:00:48.413752+00:00 	dhcpd 	36710 	All rights reserved.
        2021-01-21 06:00:48.413709+00:00 	dhcpd 	36710 	Copyright 2004-2020 Internet Systems Consortium.
        2021-01-21 06:00:48.413590+00:00 	dhcpd 	36710 	Internet Systems Consortium DHCP Server 4.4.2 
        
        GertjanG 1 Reply Last reply Reply Quote 0
        • GertjanG
          Gertjan @n8it
          last edited by

          You have a single LAN with single W10 client and you see this :

          @n8it said in pfSense 2.50 snapshots have been dying for the past couple of days:

          2021-01-21 06:06:52.752895+00:00 dhcpleases 35662 Sending HUP signal to dns daemon(43713)
          2021-01-21 06:06:52.738449+00:00 dhcpleases 35662 Sending HUP signal to dns daemon(43

          Who are these 192.168.1.101 - 192.168.1.89

          Why is the dhcpd server restarting so often ?
          If the LAN goes down, it's normal that clients trigger a DHCP sequence. But your LAN is virtual ...

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

          1 Reply Last reply Reply Quote 0
          • M
            maverick_slo @Gertjan
            last edited by

            @gertjan well that resolved it.
            Thanks for the tip now to find root cause...

            1 Reply Last reply Reply Quote 0
            • S
              SuperMaster
              last edited by

              it looks like dhcp tries to restart the unbound service because of a new dhcp lease but unbound does not start again.

              if I enter this

               kill -1 `cat /var/run/unbound.pid`
              

              in the comandline on my production system unbound restarts on the 2.5 snapshot unbound dies and doesn't start again.

              can anyone confirm this?

              M GertjanG 2 Replies Last reply Reply Quote 0
              • M
                maverick_slo @SuperMaster
                last edited by

                @supermaster
                Yup.

                1 Reply Last reply Reply Quote 0
                • GertjanG
                  Gertjan @SuperMaster
                  last edited by

                  @supermaster said in pfSense 2.50 snapshots have been dying for the past couple of days:

                  it looks like dhcp tries to restart the unbound

                  dhcp == the DHCP client, running on a WAN type interface to get a WAN IP from an upstream DHCP server, like your ISP router, or your ISP.
                  dhcpd is a server type app that receive DHCP requests from dhcp clients on your LAN.
                  I presume that your dhcp is the dhcpd process.

                  Ins't

                  kill -1 `cat /var/run/unbound.pid`
                  

                  just killing it ? It's not a 'restart' command.

                  Also, check if the PID, the integer in the file is actually the PID of the running instance of unbound.

                  ps ax   | grep 'unbound'
                  

                  to see how many unbound instances are running, and if the PID corresponds.

                  If the dhcpd is restarting unbound to often, set up unbound to ignore new DHCP leases - this works well with 2.4.5-p1.

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

                  S 1 Reply Last reply Reply Quote 0
                  • S
                    SuperMaster @Gertjan
                    last edited by

                    @gertjan

                    yes i mean the dhcpd process. the problem is not that dhpcd restarts unbound too often.

                    if I understand the code correctly https://github.com/pfsense/FreeBSD-ports/blob/devel/sysutils/dhcpleases/files/dhcpleases.c

                    	syslog(LOG_INFO, "Sending HUP signal to dns daemon(%u)", pidno);
                    	if (kill((pid_t)pidno, SIGHUP) < 0)
                    		syslog(LOG_ERR,
                    		    "Could not deliver signal HUP to process %d: %m.", pidno)
                    

                    it will send kil -HUP (kill -1 is the same as HUP) to unobund but i dont find where unbound is startet after that again.

                    this works in version 2.4.5 without problems because unbound just starts again when you do a kill -HUP but not in 2.5 since the update to unbound 1.13

                    1 Reply Last reply Reply Quote 0
                    • jimpJ
                      jimp Rebel Alliance Developer Netgate
                      last edited by

                      I checked a few different systems here and I have no problem doing a HUP to unbound. I tried it multiple times multiple ways. It stays running and operating properly.

                      : ps uxaww | grep unbound
                      unbound 36369   0.0  1.0  55904  4696  -  Is   14:05     0:01.58 /usr/local/sbin/unbound -c /var/unbound/unbound.conf
                      root    39523   0.0  0.0  10844     0  -  IWs  -         0:00.00 /usr/local/sbin/dhcpleases -l /var/dhcpd/var/db/dhcpd.leases -d lab.jimp.pw -p /var/run/unbound.pid -u /var/unbound/dhcpleases_entries.conf -h /etc/hosts
                      root    33981   0.0  0.4  11044  1984  0  R+   16:00     0:00.00 grep unbound
                      : killall -HUP unbound
                      : ps uxaww | grep unbound
                      unbound 36369   3.9  5.0  51116 22852  -  Ss   14:05     0:01.82 /usr/local/sbin/unbound -c /var/unbound/unbound.conf
                      root    39523   0.0  0.0  10844     0  -  IWs  -         0:00.00 /usr/local/sbin/dhcpleases -l /var/dhcpd/var/db/dhcpd.leases -d lab.jimp.pw -p /var/run/unbound.pid -u /var/unbound/dhcpleases_entries.conf -h /etc/hosts
                      root    34630   0.0  0.4  10988  1940  0  R+   16:00     0:00.00 grep unbound
                      : kill -HUP `cat /var/run/unbound.pid`
                      : ps uxaww | grep unbound
                      unbound 36369   2.0  4.6  51836 20828  -  Ss   14:05     0:02.03 /usr/local/sbin/unbound -c /var/unbound/unbound.conf
                      root    39523   0.0  0.0  10844     0  -  IWs  -         0:00.00 /usr/local/sbin/dhcpleases -l /var/dhcpd/var/db/dhcpd.leases -d lab.jimp.pw -p /var/run/unbound.pid -u /var/unbound/dhcpleases_entries.conf -h /etc/hosts
                      root    20156   0.0  0.4  11036  1956  0  R+   16:01     0:00.00 grep unbound
                      : kill -1 `cat /var/run/unbound.pid`
                      : ps uxaww | grep unbound
                      unbound 36369   2.0  5.1  53956 23404  -  Ss   14:05     0:02.18 /usr/local/sbin/unbound -c /var/unbound/unbound.conf
                      root    39523   0.0  0.0  10844     0  -  IWs  -         0:00.00 /usr/local/sbin/dhcpleases -l /var/dhcpd/var/db/dhcpd.leases -d lab.jimp.pw -p /var/run/unbound.pid -u /var/unbound/dhcpleases_entries.conf -h /etc/hosts
                      root    21124   0.0  0.5  11192  2064  0  S+   16:01     0:00.00 grep unbound
                      

                      Perhaps there is something specific to your unbound configuration that is making it happen (custom options? pfblocker? python module?)

                      Try to narrow it down more.

                      Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

                      Need help fast? Netgate Global Support!

                      Do not Chat/PM for help!

                      GertjanG 1 Reply Last reply Reply Quote 0
                      • GertjanG
                        Gertjan @jimp
                        last edited by

                        @jimp said in pfSense 2.50 snapshots have been dying for the past couple of days:

                        killall -HUP unbound

                        Hummmm. Sounds great.
                        For my own curiosity, I'll check upon unbound's source what's its doing with a HUP. The "2.4.5p1 version" = 1.10.1 wa simply restarting itself. This could have - now very known - consequences.

                        This is a strong signal for me to try 2.5.0.xxxxx

                        And true : it's not only "dhcpleases"that can restart unbound.
                        If dhcpleases still exists under 2.5.0....
                        And if so, is it sending a HUP to unbound ?
                        Etc.

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

                        johnpozJ S 2 Replies Last reply Reply Quote 0
                        • johnpozJ
                          johnpoz LAYER 8 Global Moderator @Gertjan
                          last edited by

                          @gertjan said in pfSense 2.50 snapshots have been dying for the past couple of days:

                          This is a strong signal for me to try 2.5.0.xxxxx

                          There are many things looking forward to in 2.5 ;) But I am just going to wait til release. I am going to go with clean install.. Since going to take the opportunity of moving my sg4860 to zfs..

                          But yeah unbound updates, able to do dhcp registrations without issues will be big for many users. I personally am looking forward to the openssl update and gui using tls 1.3.. Plus many more.. 2.5 has lots of good stuff in it..

                          Was just looking over the release notes again - hadn't noticed the usb tethering.. So seems be easy enough to plug my IPhone in and have network wide internet... That will be slick on power outages.. Where my network is still up via UPS.. Or when ISP goes out..

                          Yeah 2.5 looks very nice.. Well worth the wait ;)

                          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
                          • S
                            Salander27 0 @Gertjan
                            last edited by

                            @gertjan Did you ever figure this out? I just updated to 2.5.0-RELEASE and started having this issue (DNS was completely stable before the update). I've resorted to having Service Watchdog restart it when it goes down as a temporary measure.

                            I do not have "Enable registration of DHCP client names in DNS." enabled for either DHCP or DHCPv6.

                            GertjanG F 2 Replies Last reply Reply Quote 1
                            • GertjanG
                              Gertjan @Salander27 0
                              last edited by

                              @salander27-0 said in pfSense 2.50 snapshots have been dying for the past couple of days:

                              Did you ever figure this out?

                              Noop, sorry.
                              Had other occupations.

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

                              1 Reply Last reply Reply Quote 0
                              • F
                                Fry-kun @Salander27 0
                                last edited by Fry-kun

                                @salander27-0 I just upgraded and I'm having the same problem
                                I have both "Register DHCP leases in the DNS Resolver" and "Register DHCP static mappings in the DNS Resolver" enabled

                                Edit: Enabled watchdog, too. This is ridiculous, hope it gets fixed for real very soon!

                                S 1 Reply Last reply Reply Quote 0
                                • S
                                  Salander27 0 @Fry-kun
                                  last edited by

                                  @fry-kun Ah, I have both of those settings enabled too. I was thinking "Enable registration of DHCP client names in DNS" was what the above posters were referring to but I was mistaken.

                                  The issue certainly seems to be DHCP-related. I had 4 crashes in a 10 minute span and then upped the DHCP lease time from 15 minutes to 6 hours and haven't seen any crashes yet (though I would expect a few in a few hours once the initial 6hr leases expire and get renewed). You may wish to increase your lease time as well just to help reduce the crash frequency.

                                  GertjanG 1 Reply Last reply Reply Quote 0
                                  • GertjanG
                                    Gertjan @Salander27 0
                                    last edited by

                                    @salander27-0 said in pfSense 2.50 snapshots have been dying for the past couple of days:

                                    though I would expect a few in a few hours once the initial 6hr leases expire and get renewed

                                    A lease gets renewed after half the duration of the lease.
                                    A 15 minutes lease will get renewed after 7 minutes.
                                    Known OS's like Windows, MAC etc are set up ask for leases lasting a day or two.

                                    Why 15 minutes ??
                                    Although, pfSense - the DHCP server - should handle that just fine.

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

                                    1 Reply Last reply Reply Quote 0
                                    • jimpJ
                                      jimp Rebel Alliance Developer Netgate
                                      last edited by

                                      We need a lot more detail about configurations. Nobody here can reproduce this in the lab or on our edge systems.

                                      At a minimum we need:

                                      • List of installed and in-use packages (e.g. pfBlockerNG, DNSBL)
                                      • Contents of /var/unbound/unbound.conf
                                      • Whether or not DHCP lease registration is enabled or other similar features like "Register connected OpenVPN clients in the DNS Resolver"
                                      • If DHCP lease registration is enabled, we also need to know the lease time

                                      Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

                                      Need help fast? Netgate Global Support!

                                      Do not Chat/PM for help!

                                      S F 2 Replies Last reply Reply Quote 0
                                      • E
                                        e1219
                                        last edited by

                                        @jimp

                                        I updated to the latest stable release 2.5.0 from 2.4.5 last night and have started experiencing this issue as well. I have made no changes to my config since updating.

                                        I see this error in my log which brought me to this thread.
                                        Feb 18 09:25:46 kernel pid 62259 (unbound), jid 0, uid 59: exited on signal 11

                                        Afterwards I see the following error as unbound pid 62259 died.
                                        Feb 18 09:27:06 dhcpleases 52367 Could not deliver signal HUP to process 62259: No such process.
                                        Feb 18 09:28:04 dhcpleases 52367 Could not deliver signal HUP to process 62259: No such process.
                                        Feb 18 09:30:40 dhcpleases 81970 Could not deliver signal HUP to process 62259: No such process.

                                        Here are some of the config details you mentioned, please let me know if there are any other details that might help.

                                        Installed packages:
                                        Avahi 2.1_1
                                        pfBlockerNG-devel 3.0.0_10
                                        Service_Watchdog 1.8.7_1

                                        Contents of /var/unbound/unbound.conf
                                        unbound.conf

                                        Enabled:
                                        Register DHCP leases in the DNS Resolver
                                        Register DHCP static mappings in the DNS Resolver
                                        Disabled:
                                        Register connected OpenVPN clients in the DNS Resolver

                                        My DHCP server is using the default default-lease-time (7200s) and default maximum lease time (86400s). Looking at my current lease table, my devices are respecting the 2hr lease duration, but register at different times.

                                        b94b16a4-9200-4eb9-8240-18de0bf94192-image.png

                                        1 Reply Last reply Reply Quote 0
                                        • S
                                          Salander27 0 @jimp
                                          last edited by

                                          @jimp

                                          Installed Packages:
                                          acme 0.6.9_3
                                          arping 1.2.2_2
                                          iperf 3.0.2_5
                                          nmap 1.4.4_2
                                          openvpn-client-export 1.5_5
                                          Service_Watchdog 1.8.7_1
                                          softflowd 1.2.6_1
                                          sudo 0.3_6

                                          /var/unbound/unbound.conf
                                          [0_1613672909675_unbound.conf](Uploading 100%)

                                          Enabled:
                                          Register DHCP leases in the DNS Resolver
                                          Register DHCP static mappings in the DNS Resolver
                                          Disabled:
                                          Register connected OpenVPN clients in the DNS Resolver

                                          Lease time is currently 6hrs (which is helping as I see there was only one crash in the last 12 hours) up from 15 minutes (which was crashing constantly).

                                          1 Reply Last reply Reply Quote 0
                                          • M
                                            mkernalcon
                                            last edited by

                                            After updating just a few hours ago to the 2.5.0 release on our main router, I can confirm that I am having the same issue. I've temporarily fixed it by disabling the "Register DHCP leases in the DNS Resolver" option. I can confirm, looking through the logs, that several HUPs get sent properly, all to the same PID, before finally starting to fail with "No such process". The last HUP that doesn't immediately fail in DHCP logs, has exactly the same timestamp as "pid 55598 (unbound), jid 0, uid 59: exited on signal 11" in the general log. No information in the DNS resolver logs.

                                            DHCP Leases are default (7200s) for all vlans except my "main" lan, which is 691200s. Looks like the HUPs that kill it come from the 7200s vlans, but this is probably just coincidence.

                                            Installed Packages:
                                            darkstat
                                            iperf
                                            nmap
                                            nut
                                            openvpn-client-export
                                            Status_Traffic_Totals

                                            unbound.conf (has not been edited manually):

                                            ##########################
                                            # Unbound Configuration
                                            ##########################
                                            
                                            ##
                                            # Server configuration
                                            ##
                                            server:
                                            
                                            chroot: /var/unbound
                                            username: "unbound"
                                            directory: "/var/unbound"
                                            pidfile: "/var/run/unbound.pid"
                                            use-syslog: yes
                                            port: 53
                                            verbosity: 2
                                            hide-identity: yes
                                            hide-version: yes
                                            harden-glue: yes
                                            do-ip4: yes
                                            do-ip6: no
                                            do-udp: yes
                                            do-tcp: yes
                                            do-daemonize: yes
                                            module-config: "validator iterator"
                                            unwanted-reply-threshold: 0
                                            num-queries-per-thread: 512
                                            jostle-timeout: 200
                                            infra-host-ttl: 900
                                            infra-cache-numhosts: 10000
                                            outgoing-num-tcp: 10
                                            incoming-num-tcp: 10
                                            edns-buffer-size: 4096
                                            cache-max-ttl: 86400
                                            cache-min-ttl: 0
                                            harden-dnssec-stripped: yes
                                            msg-cache-size: 4m
                                            rrset-cache-size: 8m
                                            
                                            num-threads: 12
                                            msg-cache-slabs: 8
                                            rrset-cache-slabs: 8
                                            infra-cache-slabs: 8
                                            key-cache-slabs: 8
                                            outgoing-range: 4096
                                            #so-rcvbuf: 4m
                                            auto-trust-anchor-file: /var/unbound/root.key
                                            prefetch: no
                                            prefetch-key: no
                                            use-caps-for-id: no
                                            serve-expired: no
                                            aggressive-nsec: no
                                            # Statistics
                                            # Unbound Statistics
                                            statistics-interval: 0
                                            extended-statistics: yes
                                            statistics-cumulative: yes
                                            
                                            # TLS Configuration
                                            tls-cert-bundle: "/etc/ssl/cert.pem"
                                            
                                            # Interface IP(s) to bind to
                                            interface: 192.168.2.1
                                            interface: 192.168.3.1
                                            interface: 192.168.4.1
                                            interface: 192.168.11.1
                                            interface: 192.168.99.1
                                            interface: 127.0.0.1
                                            interface: ::1
                                            
                                            # Outgoing interfaces to be used
                                            
                                            # DNS Rebinding
                                            # For DNS Rebinding prevention
                                            private-address: 127.0.0.0/8
                                            private-address: 10.0.0.0/8
                                            private-address: ::ffff:a00:0/104
                                            private-address: 172.16.0.0/12
                                            private-address: ::ffff:ac10:0/108
                                            private-address: 169.254.0.0/16
                                            private-address: ::ffff:a9fe:0/112
                                            private-address: 192.168.0.0/16
                                            private-address: ::ffff:c0a8:0/112
                                            private-address: fd00::/8
                                            private-address: fe80::/10
                                            # Set private domains in case authoritative name server returns a Private IP address
                                            
                                            
                                            
                                            # Access lists
                                            include: /var/unbound/access_lists.conf
                                            
                                            # Static host entries
                                            include: /var/unbound/host_entries.conf
                                            
                                            # dhcp lease entries
                                            include: /var/unbound/dhcpleases_entries.conf
                                            
                                            
                                            
                                            # Domain overrides
                                            include: /var/unbound/domainoverrides.conf
                                            
                                            
                                            
                                            
                                            ###
                                            # Remote Control Config
                                            ###
                                            include: /var/unbound/remotecontrol.conf
                                            
                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post
                                            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.