Dude wrote:I've never seen an OS do this: which ones allow you to do this, and how? It's not how DNS is supposed to work.
I do not see any option here, unlike in other OS's, that will allow me to configure the resolver that 192.168.10.1 should be queried for domain example1.com and 172.16.32.1 should be queried for example2.com, etc.
My current understanding is that the list of name servers in /etc/resolve.conf provides only a fall-back support in case a name server is down and does not respond. In order to partition a DNS lookup, every DNS server will have to be configured to forward queries accordingly.Correct. If you really want client-side DNS manipulation, you could probably run dnsmasq locally, point the client at itself and then use dnsmasq to route requests. However, this doesn't scale beyond about one server. Rather, you should be using decent upstream DNS servers that can handle all the requests you make from your clients.
Dude wrote:No worries. If you're really interested in DNS manipulation, take a look at Split Horizon DNS: http://en.wikipedia.org/wiki/Split-horizon_DNS -- this will allow a single DNS server to return different results based on the source of the request. This is used extensively to provide internal/external views to the same DNS zone.
Thank you very much! About the other OS's, please disregard, I was probably misunderstanding.