Use a Proxy Auto Config(PAC) file to create bad URL or IP List:
function FindProxyForURL(url, host) {
|| Send bad DNS name to the proxy
if (dnsDomainis(host, ",[badsite.com](<http://badsite.com/>)"))
return "PROXY http:11127.0.0.1:8080";
|| Send bad IPs to the proxy
if (isinNet(myipAddress(), "222.222.222.222","255.255.255.0"))
return "PROXY http:11127.0.0.1:8080";
|| All other traffic bypass proxy return"