Re: [Dnsmasq-discuss] DNS pattern response

2009-12-04 Thread Eric Laganowski
richardvo...@gmail.com wrote: On Thu, Dec 3, 2009 at 10:06 PM, Perette Barella pere...@barella.org wrote: I think there's a misunderstanding on how the WPAD DNS version operates. The wpad.domain.localnet is used by the browser at startup to locate the proxy configuration file which applies

Re: [Dnsmasq-discuss] DNS pattern response

2009-12-04 Thread Eric Laganowski
Santiago Zarate wrote: add an IPTABLES rule and that's it.. if i'm not mistaken: # DNAT port 80 request comming from LAN systems to squid 3128 ($SQUID_PORT) aka transparent proxy iptables -t nat -A PREROUTING -i $LAN_IN -p tcp --dport 80 -j DNAT --to $SQUID_SERVER:$SQUID_PORT # if it is

Re: [Dnsmasq-discuss] DNS pattern response

2009-12-04 Thread Eric Laganowski
Jan 'RedBully' Seiffert wrote: I have this laying around for some time, here for dnsmasq 2.50. This way one can write: address=/:^wpad\..*:/192.168.0.1 or something like that... Note: This patch is not that well tested... Had to modify a little. Preliminary tests show expected behavior.

[Dnsmasq-discuss] DNS pattern response

2009-12-03 Thread Eric Laganowski
a cname record... address=/wpad.mydomain.net/10.40.60.90 cname=wpad,wpad.mydomain.net tho... i'm pretty sure that cname=wpad,10.40.60.90 will also work... -- Santiago Zarate santi...@zarate.net.ve (+58) 4129864175 (+58) 4241073905 Date: Wed, 2 Dec 2009 11:45:57 -0500 From: Eric Laganowski

[Dnsmasq-discuss] DNS pattern response

2009-12-02 Thread Eric Laganowski
Hi! I am playing with browser proxy autodiscovery feature and would like dnsmasq to reply with a certain IP address to any DNS query starting with wpad., any domain might follow. Is it possible to accomplish this with dnsmasq? -Eric