<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#ffffff" text="#000000">
    On 6/21/2011 17:36, Jamie Begin wrote:
    <blockquote
      cite="mid:BANLkTi=xwxGgPh_iYAznVTZine1WYLzRAw@mail.gmail.com"
      type="cite">I apologize if this is a frequent question, but I
      couldn't find any decent keywords to search with ("domain" is too
      broad).<br>
      <br>
      I have something similar to this in my config:<br>
      interface=vlan191,lan<br>
      interface=vlan192,wifi<br>
      dhcp-range=lan,192.168.1.200,192.168.1.250,12h<br>
      dhcp-range=wifi,192.168.2.200,192.168.2.220,12h<br>
      <br>
      I'd like to be able to set something like this:<br>
      domain=lan,<a moz-do-not-send="true"
        href="http://lan.mycompany.com">lan.mycompany.com</a><br>
      domain=wifi,<a moz-do-not-send="true"
        href="http://wifi.mycompany.com">wifi.mycompany.com</a><br>
      <br>
      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?<br>
      <br>
      <pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
Dnsmasq-discuss mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Dnsmasq-discuss@lists.thekelleys.org.uk">Dnsmasq-discuss@lists.thekelleys.org.uk</a>
<a class="moz-txt-link-freetext" href="http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss">http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss</a>
</pre>
    </blockquote>
    I know you can do that with isc dhcpd/bind combination.&nbsp; I'm unaware
    of any way to do what you wish with dnsmasq.&nbsp; the closest you can
    get is to set your domain to&nbsp; mycompany.com and set a MAC -&gt; IP
    and IP -&gt; Hostname mapping scheme.&nbsp; Alternatively you might be
    able to use multiple DNSMasq instances.<br>
  </body>
</html>