[Dnsmasq-discuss] URL redirection

richardvoigt at gmail.com richardvoigt at gmail.com
Sat Jul 2 18:19:47 BST 2011


And here I was thinking "block access to facebook from the company
network".  But DNS wouldn't exactly be the best way to do so.

On Sat, Jul 2, 2011 at 11:34 AM, Lee Maisel <maisel at lobo.net> wrote:
> Oh!
>
> Sorry, LOL  that makes sense.  So instead of just blocking AD sites for
> your network, have it go to something that loads quick or redirect, to
> avoid the ads.  Great Idea!
>
> Lee
>
>
>
> Tomas Sironi wrote:
>> Ok, I know. Facebook is not the best to put as example. I don't want
>> to make phishing. The real purpuse of this, is redirect a list of ad
>> pages, to a server that shows something better than "This webpage is
>> not available".
>>
>> On Sat, Jul 2, 2011 at 10:29 AM, Lee Maisel <maisel at lobo.net
>> <mailto:maisel at lobo.net>> wrote:
>>
>>     Hmmmm... Can't imagine what he's up to... LOL
>>
>>
>>
>>
>>
>>     Tomas Sironi wrote:
>>     > Hi people. I'm sure someone has already asked about this, but i
>>     wonder
>>     > if dnsnasq is capable of redirect secified url's.
>>     >
>>     > For example, I want all the queries to facebook.com
>>     <http://facebook.com>
>>     > <http://facebook.com> to go to myserver.dyndns.org
>>     <http://myserver.dyndns.org>
>>     > <http://myserver.dyndns.org>.
>>     > The syntax would be:
>>     >
>>     > address=/facebook.com/myserver.dyndns.org
>>     <http://facebook.com/myserver.dyndns.org>
>>     > <http://facebook.com/myserver.dyndns.org>
>>     >
>>     > Dnsmasq sholud resolv myserver.dyndns.org
>>     <http://myserver.dyndns.org> <http://myserver.dyndns.org>
>>     > address to redirect as normal:
>>     >
>>     > address=/facebook.com/190.43.56.212
>>     <http://facebook.com/190.43.56.212>
>>     <http://facebook.com/190.43.56.212>
>>     >
>>     > where 190.43.56.212 is the non-static address of
>>     myserver.dyndns.org <http://myserver.dyndns.org>
>>     > <http://myserver.dyndns.org>.
>>     >
>>     > Is that even possible?
>>     >
>>     > Thanks.
>>     >
>>     >
>>     > --
>>     >
>>     >     Tomas  Sironi
>>     >
>>     >
>>     >
>>     ------------------------------------------------------------------------
>>     >
>>     > _______________________________________________
>>     > Dnsmasq-discuss mailing list
>>     > Dnsmasq-discuss at lists.thekelleys.org.uk
>>     <mailto:Dnsmasq-discuss at lists.thekelleys.org.uk>
>>     > http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
>>     >
>>
>>
>>     _______________________________________________
>>     Dnsmasq-discuss mailing list
>>     Dnsmasq-discuss at lists.thekelleys.org.uk
>>     <mailto:Dnsmasq-discuss at lists.thekelleys.org.uk>
>>     http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
>>
>>
>>
>>
>> --
>>
>>     Tomas  Sironi
>>
>>
>
>
> _______________________________________________
> 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