Script for distributing dns requests

How to customize and extend your OpenVPN installation.
Post Reply
coca22COCA
OpenVpn Newbie
Posts: 1
Joined: Mon Sep 27, 2021 12:34 pm

Script for distributing dns requests

Post by coca22COCA » Mon Sep 27, 2021 12:48 pm

Hi everyone,

I am trying to filter which dns request goes to the dns server over the vpn and which dns request goes to the internet and I wondered if it is somehow possible with OpenVPN.
All the domains which should go over the vpn have a specific naming convention and could be determined via regex.

Thanks in advance.

tunnel_boar
OpenVPN User
Posts: 25
Joined: Fri Dec 24, 2021 4:50 pm

Re: Script for distributing dns requests

Post by tunnel_boar » Sat Dec 25, 2021 1:39 pm

Not sure what you mean. You're either using the DNS provided by your VPN carrier or one of your choosing. If you see two separate DNS requests you have a leak.
u
Are you using the update resolve script with --up in your config?
And if so, have you installed resolvconf to update your /etc/resolved.conf?

Post Reply