[Dnsmasq-discuss] DNS pattern response

richardvoigt at gmail.com richardvoigt at gmail.com
Fri Dec 4 00:17:06 GMT 2009


I think you're going about this the wrong way.  Use the DHCP option
"auto-proxy-config" to control the URL browsers use for auto-proxy.
Spoofing addresses in other domains doesn't solve any problems, it
only creates more (and is borderline illegal in many areas).

On Thu, Dec 3, 2009 at 4:48 PM, Eric Laganowski <eric at laganowski.net> wrote:
> I guess I am not communicating this well.
> The desired dnsmasq behavior would be to reply, say, with 192.168.1.1 to any request starting with "wpad.", not just local domain, so if, say my domain is domain.local, dnsmasq responds with 192.168.1.1 to both wpad.domain.local and wpad.google.com
>
> -Eric
>
> Date: Wed, 2 Dec 2009 12:52:35 -0430
> From: Santiago Zarate <santiago at zarate.net.ve>
> Subject: Re: [Dnsmasq-discuss] DNS pattern response
> To: dnsmasq-discuss at lists.thekelleys.org.uk
> Message-ID: <200912021252.35536.santiago at zarate.net.ve>
> Content-Type: Text/Plain;  charset="us-ascii"
>
> i guess you can use 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 santiago at zarate.net.ve (+58) 4129864175 (+58) 4241073905
>
>
> Date: Wed, 2 Dec 2009 11:45:57 -0500
> From: Eric Laganowski <elaganowski at hotmail.com>
> Subject: [Dnsmasq-discuss] DNS pattern response
> To: <dnsmasq-discuss at lists.thekelleys.org.uk>
> Message-ID: <SNT130-w394FD18999D0797477ACB7A6950 at phx.gbl>
> Content-Type: text/plain; charset="iso-8859-1"
>
>
> 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
>
>
> _______________________________________________
> Dnsmasq-discuss mailing list
> Dnsmasq-discuss at lists.thekelleys.org.uk
> http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
>



More information about the Dnsmasq-discuss mailing list