Fwd: [Voyage-linux] Make DNS all resolve to localhost
Frederico Marques
(spam-protected)
Tue Feb 27 23:13:40 HKT 2007
Begin forwarded message:
> From: Frederico Marques <frederico at marques.cx>
> Date: February 27, 2007 3:02:31 PM GMT+00:00
> To: andrew at purewireless.net
> Subject: Re: [Voyage-linux] Make DNS all resolve to localhost
>
> Hi Andrew,
>
> Well, perhaps you can configure dnsmasq to do it, but I haven't
> tried it. On /etc/dnsmasq.conf there's an option:
>
> # Add domains which you want to force to an IP address here.
> # The example below send any host in doubleclick.net to a local
> # webserver.
> #address=/doubleclick.net/127.0.0.1
>
>
> Try it with something like a wildcard, * or nothing, like this:
>
> address=/*/1.1.1.1
> address=//1.1.1.1
>
> Or specifying all the tld's:
>
> address=/.net/1.1.1.1
> address=/.com/1.1.1.1
> address=/.org/1.1.1.1
>
> And so on. But if you want to redirect all users to a specific web
> page, it's better to use a captive portal.
>
> --fred
>
> On Feb 23, 2007, at 8:27 PM, andrew at purewireless.net wrote:
>
>> I need a simple way to make voyage a DNS server that resolves all DNS
>> requests to the same address. Does anybody have a quick / easy way
>> to do
>> that?
>>
>> Thanks,
>> _
>> /-\ ndrew
>>
>>
>> _______________________________________________
>> Voyage-linux mailing list
>> Voyage-linux at list.voyage.hk
>> http://list.voyage.hk/mailman/listinfo/voyage-linux
>
More information about the Voyage-linux
mailing list