1
Virtual private networks / openVPN Instance: How to get split-DNS to work?
« on: July 05, 2024, 12:58:20 pm »
Hi Gang,
I have openVPN-Instance up and runnig on opnsense 24.1.9. The DNS-Server, which is configured in the Instance-Tab, is pushed to the windows-client (openVPN GUI) correctly. The client can resolve DNS-requests over this DNS-Server. Fine so far.
Windows is (always?) taking the first available DNS-Server. If the LAN adapter is placed before the virtual openVPN adapter in "ipconfig /all", Windows will take the DNS of the LAN adapter.
The Question: Is it possible to split DNS requests for specific domains? e.g. System DNS (-> #1 in nic list) is default DNS, but for test.com use the DNS-Server which is configured on virtual openVPN adapter.
cheers
Robin
I have openVPN-Instance up and runnig on opnsense 24.1.9. The DNS-Server, which is configured in the Instance-Tab, is pushed to the windows-client (openVPN GUI) correctly. The client can resolve DNS-requests over this DNS-Server. Fine so far.
Windows is (always?) taking the first available DNS-Server. If the LAN adapter is placed before the virtual openVPN adapter in "ipconfig /all", Windows will take the DNS of the LAN adapter.
The Question: Is it possible to split DNS requests for specific domains? e.g. System DNS (-> #1 in nic list) is default DNS, but for test.com use the DNS-Server which is configured on virtual openVPN adapter.
cheers
Robin