In case this being helpful for others:
I encountered a similar issue where I get REFUSED answers from Unbound DNS server on OpnSense over a VPN network.
This happened only using nslookup on a Windows machine. Finally I found out the reason: nslookup automatically adds the DNS suffix to the domain, e.g. google.com becomes google.com.localdomain. One has to add an additional dot for the apex/DNS root (google.com.) to preven this. However, as I used nslookup with the OpnSense Unbound DNS server IP address as 2nd parameter, the dot at the end of the domain causes issues with nslookup parsing the arguments.
I encountered a similar issue where I get REFUSED answers from Unbound DNS server on OpnSense over a VPN network.
This happened only using nslookup on a Windows machine. Finally I found out the reason: nslookup automatically adds the DNS suffix to the domain, e.g. google.com becomes google.com.localdomain. One has to add an additional dot for the apex/DNS root (google.com.) to preven this. However, as I used nslookup with the OpnSense Unbound DNS server IP address as 2nd parameter, the dot at the end of the domain causes issues with nslookup parsing the arguments.