<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:st1="urn:schemas-microsoft-com:office:smarttags" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]--><o:SmartTagType
 namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="place"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="address"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="City"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="Street"/>
<!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:blue;
        text-decoration:underline;}
p.MsoAutoSig, li.MsoAutoSig, div.MsoAutoSig
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
p
        {mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman";}
span.EmailStyle20
        {mso-style-type:personal-reply;
        font-family:Arial;
        color:navy;}
@page Section1
        {size:612.0pt 792.0pt;
        margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.Section1
        {page:Section1;}
-->
</style>

</head>

<body lang=EN-US link=blue vlink=blue>

<div class=Section1>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Hi all,<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>I got to the reason for this not to work.
My DHCP server is in a VLAN that filters DHCP packs that would give IP
addresses outside the defined limits, there was nothing really wrong with the
configuration.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Thanks,<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<div>

<p class=MsoAutoSig><b><font size=2 color=navy face=Arial><span lang=EN-GB
style='font-size:10.0pt;font-family:Arial;color:navy;font-weight:bold'>Alberto
Cuesta-Canada<o:p></o:p></span></font></b></p>

<p class=MsoAutoSig><font size=1 color=navy face=Arial><span lang=EN-GB
style='font-size:8.0pt;font-family:Arial;color:navy'>GaaS Team Lead<o:p></o:p></span></font></p>

<p class=MsoAutoSig><font size=1 color=navy face=Arial><span lang=EN-GB
style='font-size:8.0pt;font-family:Arial;color:navy'>Excelian Ltd.<o:p></o:p></span></font></p>

<p class=MsoAutoSig><font size=1 color=navy face=Arial><span lang=EN-GB
style='font-size:8.0pt;font-family:Arial;color:navy'>[+44 | 0] 7942633361<o:p></o:p></span></font></p>

</div>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<div>

<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>

<hr size=2 width="100%" align=center tabindex=-1>

</span></font></div>

<p class=MsoNormal><b><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma;font-weight:bold'>From:</span></font></b><font size=2
face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'>
richardvoigt@gmail.com [mailto:richardvoigt@gmail.com] <br>
<b><span style='font-weight:bold'>Sent:</span></b> 05 August 2010 19:00<br>
<b><span style='font-weight:bold'>To:</span></b> Alberto Cuesta-Canada<br>
<b><span style='font-weight:bold'>Cc:</span></b> Santiago Zarate;
dnsmasq-discuss@lists.thekelleys.org.uk<br>
<b><span style='font-weight:bold'>Subject:</span></b> Re: [Dnsmasq-discuss] Can
I serve two different DHCP domains from a single dnsmasq server?</span></font><o:p></o:p></p>

</div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>What version of dnsmasq are you using?<o:p></o:p></span></font></p>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

</div>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>Your dhcp-host entries have their fields in all the wrong order.<o:p></o:p></span></font></p>

</div>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

</div>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>Try<o:p></o:p></span></font></p>

</div>

<div>

<p class=MsoNormal><span class=apple-style-span><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>dhcp-host=02:00:0A:00:10:00,192.168.1.1,bar</span></font></span><o:p></o:p></p>

</div>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

</div>

<div>

<p class=MsoNormal><span class=apple-style-span><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>Also, bar-range on the beginning of
a dhcp-range line is incorrect. &nbsp;It should be tag:bar-range (in current
versions of dnsmasq), but is not actually necessary since the dhcp-host line
controls the issued IP.</span></font></span><o:p></o:p></p>

</div>

<div>

<p class=MsoNormal style='margin-bottom:12.0pt'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>On Thu, Aug 5, 2010 at 11:15 AM, Alberto Cuesta-Canada &lt;<a
href="mailto:alberto.cuesta@excelian.com">alberto.cuesta@excelian.com</a>&gt;
wrote:<o:p></o:p></span></font></p>

<div>

<div>

<div>

<p class=MsoNormal><font size=2 color=black face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:black'>Hi <st1:City w:st="on"><st1:place w:st="on">Santiago</st1:place></st1:City>,</span></font><o:p></o:p></p>

</div>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>&nbsp;<o:p></o:p></span></font></p>

</div>

<div>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>I've indeed tested it extensively before posting, at least
as much as I can without disturbing the production environments around.</span></font><o:p></o:p></p>

</div>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>&nbsp;<o:p></o:p></span></font></p>

</div>

<div>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>With the configuration below, and ensuring that there were
no leases around to mess up anything, the machine in the bar domain would
instead get a random ip in the foo domain, no hostname, and foo dns domain.</span></font><o:p></o:p></p>

</div>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>&nbsp;<o:p></o:p></span></font></p>

</div>

<div>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>On Sunday, when production is stopped, I can swap the order
of the domain lines to see if dnsmasq recognises only the first, and do other
more dangerous tests.</span></font><o:p></o:p></p>

</div>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>&nbsp;<o:p></o:p></span></font></p>

</div>

<div>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Regards,</span></font><o:p></o:p></p>

</div>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>&nbsp;<o:p></o:p></span></font></p>

</div>

</div>

<div>

<div>

<div>

<div>

<div>

<p class=MsoNormal><strong><b><font size=2 color=black face=Arial><span
style='font-size:10.0pt;font-family:Arial;color:black'>Alberto Cuesta-Canada</span></font></b></strong><font
size=2 color=black face=Arial><span style='font-size:10.0pt;font-family:Arial;
color:black'><o:p></o:p></span></font></p>

</div>

</div>

<div>

<p class=MsoNormal><font size=1 color=black face=Arial><span style='font-size:
7.5pt;font-family:Arial;color:black'>GaaS Team Lead</span></font><font size=2
color=black face=Arial><span style='font-size:10.0pt;font-family:Arial;
color:black'><o:p></o:p></span></font></p>

</div>

<div>

<p class=MsoNormal><font size=1 color=black face=Arial><span style='font-size:
7.5pt;font-family:Arial;color:black'>Excelian Ltd.</span></font><font size=2
color=black face=Arial><span style='font-size:10.0pt;font-family:Arial;
color:black'><o:p></o:p></span></font></p>

</div>

<div>

<p class=MsoNormal><font size=1 color=black face=Arial><span style='font-size:
7.5pt;font-family:Arial;color:black'>+44 (0) 7942633361</span></font><font
size=2 color=black face=Arial><span style='font-size:10.0pt;font-family:Arial;
color:black'><o:p></o:p></span></font></p>

</div>

</div>

</div>

</div>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>

<hr size=2 width="100%" align=center>

</span></font></div>

<p class=MsoNormal style='margin-bottom:12.0pt'><b><font size=2 face=Tahoma><span
style='font-size:10.0pt;font-family:Tahoma;font-weight:bold'>From:</span></font></b><font
size=2 face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'> <a
href="mailto:santiago.j.zarate@gmail.com" target="_blank">santiago.j.zarate@gmail.com</a>
on behalf of Santiago Zarate<br>
<b><span style='font-weight:bold'>Sent:</span></b> Thu 05/08/2010 15:56<br>
<b><span style='font-weight:bold'>To:</span></b> Alberto Cuesta-Canada<br>
<b><span style='font-weight:bold'>Cc:</span></b> <a
href="mailto:dnsmasq-discuss@lists.thekelleys.org.uk" target="_blank">dnsmasq-discuss@lists.thekelleys.org.uk</a><br>
<b><span style='font-weight:bold'>Subject:</span></b> Re: [Dnsmasq-discuss] Can
I serve two different DHCP domains from a single dnsmasq server?</span></font><o:p></o:p></p>

</div>

<div>

<div>

<div>

<p><font size=2 face="Times New Roman"><span style='font-size:10.0pt'>if i'm
not mistaken, this is possible... but its matter of begin testing...<br>
<br>
<br>
<br>
2010/8/5 Alberto Cuesta-Canada &lt;<a href="mailto:alberto.cuesta@excelian.com"
target="_blank">alberto.cuesta@excelian.com</a>&gt;:<br>
&gt; Hi all,<br>
&gt;<br>
&gt; does anyone know if it is possible to send via DHCP hostnames in two
different domains from a single dnsmasq server?<br>
&gt;<br>
&gt; It should be something like:<br>
&gt;<br>
&gt; domain=foo,<a href="http://192.168.0.0/24" target="_blank">192.168.0.0/24</a><br>
&gt; domain=bar,<a href="http://192.168.1.0/24" target="_blank">192.168.1.0/24</a><br>
&gt;<br>
&gt; dhcp-range=foo-range,192.168.0.0,192.168.0.255,infinite<br>
&gt; dhcp-range=bar-range,192.168.1.0,192.168.1.255,infinite<br>
&gt;<br>
&gt; dhcp-host=02:00:0A:00:00:00,net:foo-range,host1,192.168.0.1,static<br>
&gt; dhcp-host=02:00:0A:00:10:00,net:bar-range,host2,192.168.1.1,static<br>
&gt;<br>
&gt; So what I would have is that host1 would get the fqdn host1.foo and the
192.168.0.1 address, while host2 would be host2.bar and get the 192.168.1.1
address.<br>
&gt;<br>
&gt; Many thanks,<br>
&gt;<br>
&gt; Alberto Cuesta-Canada<br>
&gt; GaaS Team Lead<br>
&gt; Excelian Ltd.<br>
&gt; +44 (0) 7942633361<br>
&gt;<br>
&gt; ________________________________<br>
&gt;<br>
&gt; Date: Wed, 04 Aug 2010 20:02:07 -0700<br>
&gt; From: Paul Chambers &lt;<a href="mailto:dnsmasq@lists.bod.org"
target="_blank">dnsmasq@lists.bod.org</a>&gt;<br>
&gt; Subject: [Dnsmasq-discuss] wildcard subdomains for a DHCP-assigned<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp;host<br>
&gt; To: Dnsmasq List &lt;<a
href="mailto:dnsmasq-discuss@lists.thekelleys.org.uk" target="_blank">dnsmasq-discuss@lists.thekelleys.org.uk</a>&gt;<br>
&gt; Message-ID: &lt;<a href="mailto:4C5A29AF.9050802@lists.bod.org"
target="_blank">4C5A29AF.9050802@lists.bod.org</a>&gt;<br>
&gt; Content-Type: text/plain; charset=UTF-8; format=flowed<br>
&gt;<br>
&gt; &nbsp;This may be a dumb question, but I'm no wiser after skimming the man<br>
&gt; page and experimenting a little...<br>
&gt;<br>
&gt; I have a development box I'm using to develop some virtual host stuff.<br>
&gt; I'd like to set up a wildcard subdomain for it. Essentially<br>
&gt; &lt;anything&gt;.dev.foo.bar would resolve to dev.foo.bar's IP address<br>
&gt; (assigned by DHCP). Its IP address does move on occasion, just often<br>
&gt; enough to be irritating/fragile to use an IP directly.<br>
&gt;<br>
&gt; For now, I've worked around it by adding 'address=/dev.foo.bar/&lt;current<br>
&gt; IP addr&gt;' to the config, but that's fragile and seems like a bad idea.
I<br>
&gt; could give the box a static IP I suppose, but I much prefer keeping the<br>
&gt; number of static assignments to a minimum. Plus it's a laptop, so I'd<br>
&gt; keep it configured for DHCP and set up a static DHCP assignment based on<br>
&gt; MAC address. Somehow none of this feels very satisfying, just workarounds.<br>
&gt;<br>
&gt; Is there a better way I've missed? If not, is there a reason dnsmasq<br>
&gt; doesn't do this? would it be hard to add? (perhaps support wildcards for<br>
&gt; cname?)<br>
&gt;<br>
&gt; -- Paul<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; ------------------------------<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; Dnsmasq-discuss mailing list<br>
&gt; <a href="mailto:Dnsmasq-discuss@lists.thekelleys.org.uk" target="_blank">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>
&gt; End of Dnsmasq-discuss Digest, Vol 63, Issue 4<br>
&gt; **********************************************<br>
&gt;<br>
&gt;<br>
&gt; The information contained in this email and any attached files are
confidential and intended solely for the addressee(s). The email may be legally
privileged or prohibited from disclosure and unauthorised use. If you are not
the named addressee you may not use, copy, or disclose this information to any
other person. If you received this message in error please notify the sender
immediately and delete it from your system.<br>
&gt;<br>
&gt; Any opinion or views contained in this email message are those of the
sender, and do not represent those of the Company in any way and reliance
should not be placed upon its contents. Unless otherwise stated, this email
message is not intended to be contractually binding. Where an Agreement exists
between our respective companies and there is conflict between the contents of
this email message and the Agreement then the terms of that Agreement shall
prevail.<br>
&gt;<br>
&gt; Excelian<br>
&gt; <st1:Street w:st="on"><st1:address w:st="on">50 Featherstone Street</st1:address></st1:Street><br>
&gt; <st1:City w:st="on"><st1:place w:st="on">London</st1:place></st1:City><br>
&gt; EC1Y 8RT<br>
&gt; Tel: +44 (0) 20 7336 9595<br>
&gt; Fax: +44 (0) 20 7336 9596<br>
&gt; <a href="http://www.Excelian.com" target="_blank">www.Excelian.com</a><br>
&gt; _____________________________________________________________________<br>
&gt; This e-mail has been scanned for viruses by MessageLabs. For further
information visit <a href="http://www.messagelabs.com/" target="_blank">http://www.messagelabs.com</a><br>
&gt;<br>
&gt; Excelian subscribes to cleaner and greener methods of working. Help take
responsibility for the environment. Please don't print this email unless you
absolutely have to.<br>
&gt; _______________________________________________<br>
&gt; Dnsmasq-discuss mailing list<br>
&gt; <a href="mailto:Dnsmasq-discuss@lists.thekelleys.org.uk" target="_blank">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;</span></font><o:p></o:p></p>

</div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><br>
The information contained in this email and any attached files are confidential
and intended solely for the addressee(s). The email may be legally privileged
or prohibited from disclosure and unauthorised use. If you are not the named
addressee you may not use, copy, or disclose this information to any other
person. If you received this message in error please notify the sender
immediately and delete it from your system. <br>
<br>
Any opinion or views contained in this email message are those of the sender,
and do not represent those of the Company in any way and reliance should not be
placed upon its contents. Unless otherwise stated, this email message is not
intended to be contractually binding. Where an Agreement exists between our
respective companies and there is conflict between the contents of this email
message and the Agreement then the terms of that Agreement shall prevail.<br>
<br>
Excelian<br>
<st1:Street w:st="on"><st1:address w:st="on">50 Featherstone Street</st1:address></st1:Street><br>
<st1:City w:st="on"><st1:place w:st="on">London</st1:place></st1:City><br>
EC1Y 8RT<br>
Tel: +44 (0) 20 7336 9595<br>
Fax: +44 (0) 20 7336 9596<br>
<a href="http://www.Excelian.com" target="_blank">www.Excelian.com</a><br>
_____________________________________________________________________<br>
This e-mail has been scanned for viruses by MessageLabs. For further
information visit <a href="http://www.messagelabs.com" target="_blank">http://www.messagelabs.com</a><br>
<br>
Excelian subscribes to cleaner and greener methods of working. Help take
responsibility for the environment. Please don't print this email unless you
absolutely have to.<o:p></o:p></span></font></p>

</div>

</div>

</div>

<p class=MsoNormal style='margin-bottom:12.0pt'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'><br>
_______________________________________________<br>
Dnsmasq-discuss mailing list<br>
<a href="mailto:Dnsmasq-discuss@lists.thekelleys.org.uk">Dnsmasq-discuss@lists.thekelleys.org.uk</a><br>
<a href="http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss"
target="_blank">http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss</a><o:p></o:p></span></font></p>

</div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

</div>

</div>

<BR>
The information contained in this email and any attached files are confidential and intended solely for the addressee(s). The email may be legally privileged or prohibited from disclosure and unauthorised use. If you are not the named addressee you may not use, copy, or disclose this information to any other person. If you received this message in error please notify the sender immediately and delete it from your system. <BR>
<BR>
Any opinion or views contained in this email message are those of the sender, and do not represent those of the Company in any way and reliance should not be placed upon its contents. Unless otherwise stated, this email message is not intended to be contractually binding. Where an Agreement exists between our respective companies and there is conflict between the contents of this email message and the Agreement then the terms of that Agreement shall prevail.<BR>
<BR>
Excelian<BR>
50 Featherstone Street<BR>
London<BR>
EC1Y 8RT<BR>
Tel: +44 (0) 20 7336 9595<BR>
Fax: +44 (0) 20 7336 9596<BR>
www.Excelian.com<BR>
_____________________________________________________________________<BR>
This e-mail has been scanned for viruses by MessageLabs. For further information visit http://www.messagelabs.com<BR>
<BR>
Excelian subscribes to cleaner and greener methods of working. Help take responsibility for the environment. Please don't print this email unless you absolutely have to.<BR>
</body>

</html>