[Dnsmasq-discuss] Setting the "domain" value depending on the subnet?
lists at aarcane.org
Wed Jun 22 03:21:44 BST 2011
On 6/21/2011 17:36, Jamie Begin wrote:
> I apologize if this is a frequent question, but I couldn't find any
> decent keywords to search with ("domain" is too broad).
> I have something similar to this in my config:
> I'd like to be able to set something like this:
> domain=lan,lan.mycompany.com <http://lan.mycompany.com>
> domain=wifi,wifi.mycompany.com <http://wifi.mycompany.com>
> However, it doesn't appear that I can have more than one "domain"
> directive in the config, since I get the following error: "dnsmasq:
> illegal repeated keyword at line 128 of /etc/dnsmasq.conf" Is there a
> Dnsmasq-discuss mailing list
> Dnsmasq-discuss at lists.thekelleys.org.uk
I know you can do that with isc dhcpd/bind combination. I'm unaware of
any way to do what you wish with dnsmasq. the closest you can get is to
set your domain to mycompany.com and set a MAC -> IP and IP -> Hostname
mapping scheme. Alternatively you might be able to use multiple DNSMasq
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Dnsmasq-discuss