OpenVPN Block outside DNS
Problem
Windows 10 leaks DNS searches towards all interfaces, and does not resolve correctly internal queries.
The option block-ouside-dns forces to use VPN DNS instead of DNS from adapter.
Client configuration
block-outside-dns
Server configuration
We can push the client option with the line: push "block-outside-dns"
References
- Push block-outside-dns (DNS leak/Windows 10)
- HOW TO FIX OPENVPN BLOCK-OUTSIDE-DNS PROBLEMS IN WINDOWS 10
- Windows 10 DNS Leak
- Step by Step Guide to Prevent VPN DNS Leak in Windows 10
- VPN works, but wrong DNS server is queried
Daniel Simao (talk) 14:01, 20 July 2018 (EDT)