[Dnsmasq-discuss] sending any host to a local webserver.

Dennis Veatch dennisveatch at bellsouth.net
Sun Jan 21 22:09:32 GMT 2007


On Sunday 21 January 2007 17:01, Carlos Carvalho wrote:
> Dennis Veatch (dennisveatch at bellsouth.net) wrote on 21 January 2007 16:50:
>  >> In the section to send for example doubleclick.net to 127.0.0.1, I can
>  >> forsee this being a very long list. Is there some way to point address=
>  >> to a text file instead of listing them in dnsmasq.conf?
>  >>
>  >> Thanks
>  >
>  >Think I figured it out... addn-hosts=/etc/adservers
>
> They're not hosts, and the syntax is different. I think you want
>
> conf-file = /etc/adservers
>

Oh.

Then would it be,

127.0.0.1 host.to.block

-- 
You can tuna piano but you can't tune a fish.

http://www.lunar-linux.org/
It's worth a spin.



More information about the Dnsmasq-discuss mailing list