OPNsense Forum

English Forums => General Discussion => Topic started by: spetrillo on January 22, 2024, 07:01:56 pm

Title: Firewalls Separated by VPN Connection - DNS Setup
Post by: spetrillo on January 22, 2024, 07:01:56 pm
Hello all,

I have deployed two OPNsense firewalls and they are separated by the S2S VPN connection. Each Unbound config has query forward to the opposite side domain name and DNS server. Resolution is working but it does not seem that the local Unbound server is keeping DNS information about the far side.

When I use Interfaces/Diagnostics/DNS Lookup I enter a far side IP and get a not found. I know DNS is flowing since I can add the far side DNS server and it resolves. Is there a way to setup the near side DNS server to be a caching server for the far side DNS information? Right now I have Unbound Local Zone Type set to transparent. Do I need to put an entry for the far side DNS server in System/Settings/GeneralNetworking for the far side DNS server?

Thanks,
Steve