Use DNS (unbound) of another OPNsense via openVPN

Started by chemlud, February 04, 2020, 10:03:13 AM

Previous topic - Next topic
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!
kind regards
chemlud
____
"The price of reliability is the pursuit of the utmost simplicity."
C.A.R. Hoare

felix eichhorns premium katzenfutter mit der extraportion energie

A router is not a switch - A router is not a switch - A router is not a switch - A rou....

February 05, 2020, 11:39:43 AM #1 Last Edit: February 05, 2020, 01:17:44 PM by chemlud
...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 ?
kind regards
chemlud
____
"The price of reliability is the pursuit of the utmost simplicity."
C.A.R. Hoare

felix eichhorns premium katzenfutter mit der extraportion energie

A router is not a switch - A router is not a switch - A router is not a switch - A rou....