[Dnsmasq-discuss] Different DNS lookup for different subnets?
David Sankel <firstname.lastname@example.org>
Wed, 22 Dec 2004 20:48:00 +0100
On Wed, 22 Dec 2004 11:18:09 -0800, Scott Bussinger <email@example.com> wrote:
> 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)?
You could run 3 instances of DNSMasq, each with it's own config/pid/leases file.