PFsense / Squid或VPN&忽略等/主机

这是我的问题…如果我添加到我的本地/ etc / hosts文件可以说

somenonse1.com 222.222.222.222

它会工作,如果即时通讯连接到大多数networking,但即时通讯使用我们公司的networking,然后被阻止,如:

The requested URL could not be retrieved While trying to retrieve the URL: http://somenonse1.com/ The following error was encountered: Unable to determine IP address from host name for somenonse1.com The dnsserver returned: Name Error: The domain name does not exist. This means that: The cache was not able to resolve the hostname presented in the URL. Check if the address is correct. Your cache administrator is admin@localhost. Generated Mon, 31 Jul 2017 14:01:52 GMT by localhost (squid) 

一旦添加到pfsense服务/ DNS转发(与域到IP)它的作品。 不过,我想dynamic添加,不能添加每个域,有没有办法将所有的域白名单/转发至less某些IP,如果不是全部? 或者在这里的解决scheme可能会closures鱿鱼caching或…? 这个想法是,我想像正常情况下使用不存在的域进行testing…