OPNsense Forum

Archive => 20.1 Legacy Series => Topic started by: chemlud on February 04, 2020, 10:03:13 AM

Title: Use DNS (unbound) of another OPNsense via openVPN
Post by: chemlud on February 04, 2020, 10:03:13 AM
Hy!

Have two senses on 20.1, both have unbound configured with DNS-over-TLS, one doing fine (0.2 s median), the other one not (10-15 s median time, SSL handshake errors etc, apparently the "provider" is doing stuff wit my DNS :-( ).

Is it possible to use the well-functioning unbound on the one sense as the resolver for the other one via the openVPN tunnel already existing between the two boxes?

Just adding the internal IP of the remote LAN net on the "bad" unbound as the IP to forward the requests?

Any hint highly appreciated!
Title: Re: Use DNS (unbound) of another OPNsense via openVPN
Post by: chemlud on February 05, 2020, 11:39:43 AM
...I hand out the sense on the other side of the tunnel as DNS via DHCP to selected clients (reserved IP based on MAC) as a first try.

Will see how that works, looks good for the moment.

PS: Is it possible to hand out more than one DNS server via DHCP (fall-back, if tunnel is down one day...)? If yes, what is the correct syntax? 10.11.12.13;192.168.100.1 ?