Hello,
i use the Unbound custom-options.conf actually with the following settings for DNSCrypt Proxy:
server:
do-not-query-localhost: no
forward-zone:
name: "."
forward-addr: 127.0.0.1@5353
I saw here in this Guide https://nguvu.org/pfsense/pfsense-baseline-setup/#dns%20resolver to make the DNS Resolver authoritative for the local Domain, adding the following snippet to the custom-options:
server:
local-data: "local.lan. 10800 IN SOA pfsense.local.lan. root.local.lan. 1 3600 1200 604800 10800"
My question, can i just add additionally the second setting to the custom-options.conf? Do i need to keep here a specific order somehow?
Thx!
Any One?
Thx
You can put an arbitrary number of files into the new custom options directory - whatever seems best to you from a management point of view.
https://docs.opnsense.org/manual/unbound.html#advanced-configurations
Thx, just saw further down in the documentation, to use instead of custom-options.conf for more permanent solution Templates ?
Now im wondering which is the best route to go
Quote from: pmhausen on December 01, 2021, 10:43:47 AM
You can put an arbitrary number of files into the new custom options directory - whatever seems best to you from a management point of view.
https://docs.opnsense.org/manual/unbound.html#advanced-configurations
Can you guide a newbie how to add custom options under unbound the documentation seems complicated