Help to clarify Unbound custom options formatting
-
Hi
Can somebody clarify how the content in the 'custom options' box needs to be formatted, if at all?I currently have one entry
server: private-domain: "plex.direct" #log-queries: yes log-replies: yes #log-tag-queryreply: yes
and I need to add a second entry, as below:
server: forward-zone: name: "." forward-tls-upstream: yes forward-addr: 45.90.28.0#xxxxxx.dns1.nextdns.io forward-addr: 2a07:a8c0::#xxxxxx.dns1.nextdns.io forward-addr: 45.90.30.0#xxxxxx.dns2.nextdns.io forward-addr: 2a07:a8c1::#xxxxxx.dns2.nextdns.io
What I am not sure about is the following:
-
Do I need to repeat the "server:" statement for the second entry?
-
Does the indentation of the text in each line matter (and if so what are the rules)?
Many thanks :)
-
-
Config in the custom field is added to the Unbound config file directly so it must be in the Unbound config format:
https://unbound.docs.nlnetlabs.nl/en/latest/manpages/unbound.conf.html#file-formatSteve
-
Thanks
It seems to work fine :)
Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.