6

Using dnsmasq to resolve all hosts to the same address

view full story
linux-howto

http://serverfault.com – I'm running Ubuntu server on a computer used as a wireless AP, but this AP should resolve all DNS requests to an internal IP address rather than actually performing the lookup. I want to do the same thing that paid public WiFi hotspots do - you can connect but if you attempt to load any websites they show a default page. I've noticed that they do this by resolving all domains to an internal IP address. I've added these lines to /etc/dnsmasq.conf: # Add domains which you want to force to an IP address here. # The example below send any host in double-click.net to a local # web-server. addres (HowTos)