[Dnsmasq-discuss] DNS to respond to all requests

Rory Campbell-Lange rory@campbell-lange.net
Fri, 10 Dec 2004 21:04:03 +0000


On 10/12/04, Simon Kelley (simon@thekelleys.org.uk) wrote:
> If you add
> address=/#/1.2.3.4
> 
> to /etc/dnsmasq.conf then dnsmasq will always return 1.2.3.4 to any A
> record DNS query which cannot be answered from the hosts file or DHCP
> leases 
...
> In case anyone is wondering, this rather strange feature was added to 
> help people making public wireless access points, which want to 
> intercept any web page accesses and point them to a registration page 
> for new users.

Ah hah! So that is how one does it! Great stuff.
Rory
-- 
Rory Campbell-Lange 
<rory@campbell-lange.net>
<www.campbell-lange.net>