Hi folks,
I'll reply in English because I definitely can't speak or even right in Spanish and do not trust Google or Babelfish to produce accurate enough translation.WPAD concept is pretty simple but implementation in Zentyal is not straightforward because this is not taken in account and Zentyal brings some limitations.
1 - the easiest way, kind of, is to tweak DHCP module, adding one line in with "option 252". However, this means CLI instead of GUI and use of hook at the end makes it not so easy. I did it with previous Zentyal version.
2 - Since I reinstalled my server, I tested another approach that is using GUI only. Let me try to describe it hereafter.
Principle is what I've described in
this documentation. But Zentyal DNS module doesn't permit to create "A" record for host that already exists.
Trick here is to:
- create network virtual interface attached to internal interface so that you get one dedicated IP. Here Zentyal internal IP is 192.168.10.254 (all my default gateways are at .254
) I just added virtual interface with 192.168.10.252 (.253 being already in use)
- Add "wpad" DNS entry (hostname, meaning A record) pointing to 192.168.10.252
- create virtual host (web server): wpad.mydomain
- for some strange reason, web virtual hosts are not, by default, storing files in /var/www but in /usr/www
either you put there your proxy.pac or wpad.dat or you will have to edit /etc/apache2/sites-available/ebox-wpad.mydomain file.
- Be sure you added, in DNS, TXT record containing "service: wpad:!http://wpad.mydomain:80/proxy.pac" and also SRV record pointing to wpad host created earlier.
I hope this helps.