[Dnsmasq-discuss] Different DNS lookup for different subnets?

Scott Bussinger scottb@opto-pps.com
Wed, 22 Dec 2004 11:18:09 -0800


I've got a linux box running DNSMasq serving as a router/firewall with
several subnets underneath it (for lan, dmz, guests). I'd like to have a
generic hostname for the box that I could use to access the router from any
of the subnets. In other words router.domain.local would return
192.168.101.1 or 192.168.102.1 or 192.168.103.1 depending on which subnet
the user is in.

Is there anyway to set this up with DNSMasq? Any suggestions for another way
to handle this besides just making lots of alias names for the box for each
IP address (e.g. router-lan, router-dmz, router-guest)?

Thanks!