DNS vs. Route preference
Thomas Bartosik <[email protected]>
| Newsgroups | dev.linux.lists.connman |
|---|---|
| Message-ID | <goegsIQSUITE01C8wSA00000006@goegsIQSUITE01> |
Hello list!
I am using Debian's connman 1.41 and openVPN.
I have to set a route preference ("move-before") for my local connection before the VPN, as otherwise packets don't get routed via the default gateway.
However, that also makes my local connection's DNS server the preferred one over the one that gets pushed via VPN.
I do get correct DNS responses for internal domains that only exist internally.
But there are services which have an internal and an external IP (for their publicly visible A record), and when connected via VPN, I want to get a response for (and connect to) the internal IP.
Is this achievable/which configuration options do I have to set?
Or is this already improved in 1.42 and/or current git versions and should I test the current master?
Thanks in advance for any pointers!
th