This is based on this question: https://askubuntu.com/questions/447877/how-to-resolve-the-dns-locally-when-there-is-a-proxy-configured
All I want to know is if there is an existing way to achieve this: adding IP ranges in the proxy exception list and have the clients (web browsers, IM clients, email client, etc.) resolve name locally only forwarding requests for non matching IP addresses.
PS: I'm well aware of how http proxies are working, but nothing prevents the client from asking the dns cache/files/server (if any) first. That won't help with the proxy itself but that could help in determining what to send to the proxy.
PPS: yes this could be less efficient than the default behavior, but I'm neither asking anyone to implement it nor making it the default. I'm asking if it exists in some form because at least Google does not know about it (plus with stuff like dnsmasq, doing the job twice is not that important).