Use specific dns server for specific websites

Thought it would be a fairly simply question for the network gurus....or is it the case you don't know what I am asking for?

I believe dnsmasq does the same thing but that is for routers I think.
 
Not sure why you'd want to do this. Why does it matter where you resolve DNS for a particular site that you have no control over, unless you wish to send people elsewhere?

I can understand it for development sites, or for cases where NAT reflection is no available and you want to access an internal site from the external domain name.

Maybe if you explained your reason for wanting to do so then a suitable solution could be found.
 
Ah, that's an interesting way to re-direct traffic.

Realistically the only way to do this properly is to run a lightweight DNS server locally with a set of rules to re-direct traffic for some lookups to one one server and for the rest to another.

The other way to do it is this:

The unblock-us DNS server simply return their own IP addresses for the supported services, then all your traffic is routed via them. You could simply setup the IPs for the domains in your hosts file and hit their service that way - only down side is that they do this dynamically across a number of servers and you have to hit a specific server. If they change it, move it or it's down for maintainable then the service will stop for you.
 
Back
Top Bottom