[Dnsmasq-discuss] Setting the "domain" value depending on the subnet?

Jamie Begin jjbegin at rightbrainnetworks.com
Wed Jun 22 01:36:41 BST 2011


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:
interface=vlan191,lan
interface=vlan192,wifi
dhcp-range=lan,192.168.1.200,192.168.1.250,12h
dhcp-range=wifi,192.168.2.200,192.168.2.220,12h

I'd like to be able to set something like this:
domain=lan,lan.mycompany.com
domain=wifi,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 workaround?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/attachments/20110621/068876cd/attachment.htm 


More information about the Dnsmasq-discuss mailing list