I have two network adapters on my PC each connected to a different network (one LAN and one Wireless). I set up routing tables to have some of the addresses routed to the LAN and others to the Wireless, but I'm having problems with the DNS configuration. I'd like the DNS lookup to first try the default DNS for the LAN and then if there was no match, try the default DNS for the wireless.
The problem is that DNS servers (and hence their order) are defined per network connection. I can't figure out which of the DNS's are used when I try to i.e. ping a server by name.
Is there a concept of a primary network adapter?
Can I create or manage a global list of DNS servers without regard to the adapter?