[1691077744] unbound[59258:0] notice: Start of unbound 1.17.1./var/unbound/etc/access_lists.conf:1: error: syntax errorread /var/unbound/unbound.conf failed: 1 errors in configuration file[1691077744] unbound[59258:0] fatal error: Could not read config file: /var/unbound/unbound.conf. Maybe try unbound -dd, it stays on the commandline to see more errors, or unbound-checkconf
/var/unbound/etc/access_lists.conf:1: error: syntax errorread /var/unbound/unbound.conf failed: 1 errors in configuration file
2023-08-03T17:02:27 Error configd.py [be10630e-9cec-4828-9b3c-2bff3da5c219] Script action failed with Command '/usr/local/opnsense/scripts/unbound/wrapper.py -s ' returned non-zero exit status 1. at Traceback (most recent call last): File "/usr/local/opnsense/service/modules/actions/script_output.py", line 44, in execute subprocess.check_call(script_command, env=self.config_environment, shell=True, File "/usr/local/lib/python3.9/subprocess.py", line 373, in check_call raise CalledProcessError(retcode, cmd) subprocess.CalledProcessError: Command '/usr/local/opnsense/scripts/unbound/wrapper.py -s ' returned non-zero exit status 1.
########################### Unbound Configuration############################# Server configuration##server:chroot: /var/unboundusername: unbounddirectory: /var/unboundpidfile: /var/run/unbound.pidroot-hints: /var/unbound/root.hintsuse-syslog: yesport: 53include: /var/unbound/advanced.confharden-referral-path: nodo-ip4: yesdo-ip6: yesdo-udp: yesdo-tcp: yesdo-daemonize: yesso-reuseport: yesmodule-config: "python validator iterator"num-threads: 4msg-cache-slabs: 8rrset-cache-slabs: 8infra-cache-slabs: 8key-cache-slabs: 8auto-trust-anchor-file: /var/unbound/root.key# Interface IP(s) to bind tointerface: 0.0.0.0interface: ::interface-automatic: yes# Private networks for DNS Rebinding prevention (when enabled)private-address: 0.0.0.0/8private-address: 10.0.0.0/8private-address: 100.64.0.0/10private-address: 169.254.0.0/16private-address: 172.16.0.0/12private-address: 192.0.2.0/24private-address: 192.168.0.0/16private-address: 198.18.0.0/15private-address: 198.51.100.0/24private-address: 203.0.113.0/24private-address: 233.252.0.0/24private-address: ::1/128private-address: 2001:db8::/32private-address: fc00::/8private-address: fd00::/8private-address: fe80::/10# Private domains (DNS Rebinding)include: /var/unbound/private_domains.conf# Static host entriesinclude: /var/unbound/host_entries.conf# DHCP leases (if configured)include: /var/unbound/dhcpleases.conf# Custom includesinclude: /var/unbound/etc/*.confpython:python-script: dnsbl_module.pyremote-control: control-enable: yes control-interface: 127.0.0.1 control-port: 953 server-key-file: /var/unbound/unbound_server.key server-cert-file: /var/unbound/unbound_server.pem control-key-file: /var/unbound/unbound_control.key control-cert-file: /var/unbound/unbound_control.pem
access-control: 0.0.0.0/0 allowaccess-control: ::/0 allowaccess-control: 127.0.0.1/8 allowaccess-control: ::1/128 allow
root@OPNsense:~ # opnsense-patch f5efffcf94Found local copy of f5efffcf94, skipping fetch.Hmm... Looks like a unified diff to me...The text leading up to this was:--------------------------|From f5efffcf94a02bda53a2e66bb2f29e665effec5c Mon Sep 17 00:00:00 2001|From: Franco Fichtner <franco@opnsense.org>|Date: Wed, 2 Aug 2023 09:49:38 +0200|Subject: [PATCH] unbound: migration of empty nodes failed||PR: https://forum.opnsense.org/index.php?topic=35134.0|---| .../mvc/app/models/OPNsense/Unbound/Migrations/M1_0_5.php | 2 +-| 1 file changed, 1 insertion(+), 1 deletion(-)||diff --git a/src/opnsense/mvc/app/models/OPNsense/Unbound/Migrations/M1_0_5.php b/src/opnsense/mvc/app/models/OPNsense/Unbound/Migrations/M1_0_5.php|index 835e7fc5fc..793b198632 100644|--- a/src/opnsense/mvc/app/models/OPNsense/Unbound/Migrations/M1_0_5.php|+++ b/src/opnsense/mvc/app/models/OPNsense/Unbound/Migrations/M1_0_5.php--------------------------Patching file opnsense/mvc/app/models/OPNsense/Unbound/Migrations/M1_0_5.php using Plan A...Reversed (or previously applied) patch detected! Assuming -R.Hunk #1 succeeded at 46.doneAll patches have been applied successfully. Have a nice day.root@OPNsense:~ # /usr/local/opnsense/mvc/script/run_migrations.phproot@OPNsense:~ # pluginctl dnsStarting DNSCrypt-Proxy...done.
root@OPNsense:~ # pluginctl dnsStarting DNSCrypt-Proxy...done.Starting Unbound DNS...done.
***GOT REQUEST TO AUDIT HEALTH***Currently running OPNsense 23.7 at Fri Aug 4 14:19:17 CEST 2023>>> Check installed kernel versionVersion 23.7 is correct.>>> Check for missing or altered kernel filesNo problems detected.>>> Check installed base versionVersion 23.7 is correct.>>> Check for missing or altered base filesNo problems detected.>>> Check installed repositoriesOPNsense>>> Check installed pluginsos-c-icap 1.7_3os-clamav 1.8os-crowdsec 1.0.6os-dnscrypt-proxy 1.14os-mdns-repeater 1.1os-nextcloud-backup 1.0_1os-nut 1.8.1_2os-telegraf 1.12.8os-tftp 1.0os-theme-cicada 1.34os-wireguard 1.13_6os-wol 2.4_1os-zabbix64-agent 1.13_2>>> Check locked packagesNo locks found.>>> Check for missing package dependenciesChecking all packages: .......... done>>> Check for missing or altered package filesChecking all packages: .......... done>>> Check for core packages consistencyCore package "opnsense" has 67 dependencies to check.Checking packages: .................................................................... done***DONE***