If i go to Interfaces->Diagnostics->DNS-Lookup and insert a hostname of the overriden domain, i get randomly different results:
(https://i.imgur.com/63CApR4.png)
(https://i.imgur.com/YWb85gB.png)
If i look at the generated overrides in conf, there is the ending .(dot) missing in the zone name.
In opnsense the zone name is
Quote
forward-zone:
name: "example.com"
forward-addr: 10.0.0.1
The fqdn of the overridden domain should be example.com.(dot)
The guys at archlinux also use that syntax in their documentation (https://wiki.archlinux.org/index.php/unbound#Include_local_DNS_server).
There is also someone over at pfsense who is talking about a similar problem.
https://redmine.pfsense.org/issues/9189