No, it's the other way round:
While defining a forward zone will turn off recursion in general, setting forward-first: yes
instructs unbound
to resolve DNS requests first by forwarding to 1.1.1.1
or 8.8.8.8
, and only if that fails, it would fall back to recursive resolution.
Quoting unbound.conf
documentation:
forward-first
:<yes or no>
If a forwarded query is met with a SERVFAIL error, and this option is enabled, Unbound will fall back to normal recursive resolution for this query as if no query forwarding had been specified.
Default: no
EDIT:
Setting val-permissive-mode: yes
would have unbound
serve replies that failed DNSSEC validation, i.e. Pi-hole would receive invalid replies.
It only makes sense to use that if you did configure Pi-hole to do DNSSEC validation: