[Voyage-linux] Make DNS all resolve to localhost
Andrew Niemantsverdriet
(spam-protected)
Wed Feb 28 04:48:45 HKT 2007
Well I am trying to use nocat splash but it fails on me when I first get
on to go to someplace it says DNS can't be found. This box is not
connected to the internet so it does not have any way to get DNS. Unless I
have set something up wrong on no cat.
> 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