Ahh... Ok.  I was running dnsmasq v2.45 from the CentOS yum repositories and this config bombed out. I replaced it with the latest version that I compiled from source (v2.57) and this option is working now.  Thanks!<br>
<br><br><div class="gmail_quote">On Tue, Jun 21, 2011 at 11:03 PM, <a href="mailto:richardvoigt@gmail.com">richardvoigt@gmail.com</a> <span dir="ltr">&lt;<a href="mailto:richardvoigt@gmail.com">richardvoigt@gmail.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">The man page says you can configure a domain suffix for each range:<br>
<br>
-s, --domain=&lt;domain&gt;[,&lt;address range&gt;[,local]]<br>
Specifies DNS domains for the DHCP server. Domains may be be given<br>
unconditionally (without the IP range) or for limited IP ranges. This<br>
has two effects; firstly it causes the DHCP server to return the<br>
domain to any hosts which request it, and secondly it sets the domain<br>
which it is legal for DHCP-configured hosts to claim. The intention is<br>
to constrain hostnames so that an untrusted host on the LAN cannot<br>
advertise its name via dhcp as e.g. &quot;<a href="http://microsoft.com" target="_blank">microsoft.com</a>&quot; and capture<br>
traffic not meant for it. If no domain suffix is specified, then any<br>
DHCP hostname with a domain part (ie with a period) will be disallowed<br>
and logged. If suffix is specified, then hostnames with a domain part<br>
are allowed, provided the domain part matches the suffix. In addition,<br>
when a suffix is set then hostnames without a domain part have the<br>
suffix added as an optional domain part. Eg on my network I can set<br>
--domain=<a href="http://thekelleys.org.uk" target="_blank">thekelleys.org.uk</a> and have a machine whose DHCP hostname is<br>
&quot;laptop&quot;. The IP address for that machine is available from dnsmasq<br>
both as &quot;laptop&quot; and &quot;<a href="http://laptop.thekelleys.org.uk" target="_blank">laptop.thekelleys.org.uk</a>&quot;. If the domain is<br>
given as &quot;#&quot; then the domain is read from the first &quot;search&quot; directive<br>
in /etc/resolv.conf (or equivalent).<br>
The address range can be of the form &lt;ip address&gt;,&lt;ip address&gt; or &lt;ip<br>
address&gt;/&lt;netmask&gt; or just a single &lt;ip address&gt;. See --dhcp-fqdn<br>
which can change the behaviour of dnsmasq with domains.<br>
<br>
If the address range is given as ip-address/network-size, then a<br>
additional flag &quot;local&quot; may be supplied which has the effect of adding<br>
--local declarations for forward and reverse DNS queries. Eg.<br>
--domain=<a href="http://thekelleys.org.uk" target="_blank">thekelleys.org.uk</a>,<a href="http://192.168.0.0/24,local" target="_blank">192.168.0.0/24,local</a> is identical to<br>
--domain=<a href="http://thekelleys.org.uk" target="_blank">thekelleys.org.uk</a>,<a href="http://192.168.0.0/24" target="_blank">192.168.0.0/24</a> --local=/<a href="http://thekelleys.org.uk/%0A--local=/0.168.192.in-addr.arpa/" target="_blank">thekelleys.org.uk/<br>


--local=/0.168.192.in-addr.arpa/</a> The network size must be 8, 16 or 24<br>
for this to be legal.<br>
<div><div></div><div class="h5"><br>
On Tue, Jun 21, 2011 at 7:36 PM, Jamie Begin<br>
&lt;<a href="mailto:jjbegin@rightbrainnetworks.com">jjbegin@rightbrainnetworks.com</a>&gt; wrote:<br>
&gt; I apologize if this is a frequent question, but I couldn&#39;t find any decent<br>
&gt; keywords to search with (&quot;domain&quot; is too broad).<br>
&gt;<br>
&gt; I have something similar to this in my config:<br>
&gt; interface=vlan191,lan<br>
&gt; interface=vlan192,wifi<br>
&gt; dhcp-range=lan,192.168.1.200,192.168.1.250,12h<br>
&gt; dhcp-range=wifi,192.168.2.200,192.168.2.220,12h<br>
&gt;<br>
&gt; I&#39;d like to be able to set something like this:<br>
&gt; domain=lan,<a href="http://lan.mycompany.com" target="_blank">lan.mycompany.com</a><br>
&gt; domain=wifi,<a href="http://wifi.mycompany.com" target="_blank">wifi.mycompany.com</a><br>
&gt;<br>
&gt; However, it doesn&#39;t appear that I can have more than one &quot;domain&quot; directive<br>
&gt; in the config, since I get the following error: &quot;dnsmasq: illegal repeated<br>
&gt; keyword at line 128 of /etc/dnsmasq.conf&quot; Is there a workaround?<br>
&gt;<br>
&gt;<br>
</div></div><div><div></div><div class="h5">&gt; _______________________________________________<br>
&gt; Dnsmasq-discuss mailing list<br>
&gt; <a href="mailto:Dnsmasq-discuss@lists.thekelleys.org.uk">Dnsmasq-discuss@lists.thekelleys.org.uk</a><br>
&gt; <a href="http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss" target="_blank">http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss</a><br>
&gt;<br>
&gt;<br>
</div></div></blockquote></div><br>