User Tools

Site Tools


автоматизация_использования_squid

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
автоматизация_использования_squid [2022/10/13 13:48]
val [С использованием WPAD (Web Proxy Auto-Discovery)]
автоматизация_использования_squid [2023/03/20 08:46]
val [С использованием WPAD (Web Proxy Auto-Discovery)]
Line 14: Line 14:
  
   * [[http://​technet.microsoft.com/​ru-ru/​library/​cc817412.aspx|JavaScript and JScript Auto-proxy Example Files]]   * [[http://​technet.microsoft.com/​ru-ru/​library/​cc817412.aspx|JavaScript and JScript Auto-proxy Example Files]]
 +
 +  * [[https://​www.alexandreviot.net/​2015/​01/​03/​dns-remove-wpad-filtering/​|DNS – Remove WPAD Filtering]] ​
 +<​code>​
 +dnscmd /config /​enableglobalqueryblocklist 0
 +</​code>​
  
 <​code>​ <​code>​
Line 19: Line 24:
 </​code><​code>​ </​code><​code>​
 wpad    A       ​192.168.X.10 wpad    A       ​192.168.X.10
-;wpad    A       ​192.168.X.1+;wpad    A       ​192.168.X.1 ​  ;GSSAPI
  
 proxy   ​A ​      ​172.16.1.X proxy   ​A ​      ​172.16.1.X
Line 27: Line 32:
 function FindProxyForURL(url,​host) { function FindProxyForURL(url,​host) {
   if (shExpMatch(host,​ "​*corpX.un"​)) return "​DIRECT";​   if (shExpMatch(host,​ "​*corpX.un"​)) return "​DIRECT";​
-  else if (dnsDomainIs(host,"​compX.un")) return "​DIRECT";​+  else if (dnsDomainIs(host,"​isp.un")) return "​DIRECT";​
   else   else
 //    return "HTTPS proxy.corpX.un:​8080";​ //    return "HTTPS proxy.corpX.un:​8080";​
автоматизация_использования_squid.txt · Last modified: 2023/03/20 10:03 by val