Wednesday 10 January 2018

networking - Wi-Fi for Internet and LAN Domain Network - Multi-Sourced DNS Resolution

I have a scenario where I'd like to use my laptop's Wi-Fi card for Internet traffic, but use my LAN connection for all local traffic. Basically, to make a long story short, our corporate Internet access is down so I'm using a Wi-Fi backup connection.


The problem is that I want DNS lookups for Internet traffic to be handled through the Wi-Fi card, but DNS lookups for local traffic to be handled by the LAN connection. If the Wi-Fi card handles all DNS lookups, then it uses external IP addresses or is unable to resolve internal names. If the LAN connection handles all DNS lookups, then it can only resolve internal addresses because the Internet is currently down.


I tried using the solution where I use the Advanced tab and modify the Metric value so the Wi-Fi network is priority. This works beautifully for being connected to both networks simultaneously while still having the Wi-Fi network handle Internet traffic. However, I still can't figure out how to get DNS lookups to work the way I want them. I also tried specifying custom DNS resolvers, using an internal network as primary and Google's Public DNS as secondary - however this still resolves everything internally.


Is there any way to get this to work?

No comments:

Post a Comment

Where does Skype save my contact's avatars in Linux?

I'm using Skype on Linux. Where can I find images cached by skype of my contact's avatars? Answer I wanted to get those Skype avat...