Okay, I think this implementation addresses the problem correctly. I created the following files:
- /etc/e-smith/templates-custom/var/www/html/wpad.dat/70proxyMode
- /etc/e-smith/templates-custom/var/www/html/wpad.dat/90proxyDefault
By setting the property WpadFqdn=yes
you get the wpad.dat
file to use FQDN
instead of IP address
. This can be done with this
db configuration setprop squid WpadFqdn yes
This ensure that Active Directory Windows machines can use MS Edge, MS Internet Explorer, Chrome, Windows Updates and so on.