<div dir="ltr"><br><br><div class="gmail_quote">On Mon, Aug 4, 2008 at 9:04 AM, Simon Kelley <span dir="ltr"><<a href="mailto:simon@thekelleys.org.uk">simon@thekelleys.org.uk</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I have support for multiple domains working, but I've come across a wrinkle.<br>
<br>
Consider the case that two different DHCP clients claim the same name.<br>
With the existing code, only one can have it and the current behaviour<br>
is that when a second machine claims a name, the first one loses it.<br>
<br>
Now, consider the possibility that the two machines claiming the same<br>
name are in different domains. By default, the existing behaviour must<br>
continue, because the unqualified name is added to the DNS, so that even<br>
though the two clients could have "<a href="http://name.domain1.com" target="_blank">name.domain1.com</a>" and<br>
"<a href="http://name.domain2.com" target="_blank">name.domain2.com</a>", they are still fighting over just plain "name".<br>
<br>
It would be possible to introduce a new mode, which didn't put the<br>
unqualified name into the DNS, and allowed both hosts to keep their name<br>
as long as they are in different domains. Would that be useful, or just<br>
an confusing complication?</blockquote><div><br>Would it be possible to track the domain, while still responding to the unqualified name (perhaps a CNAME, or perhaps just track internally). Then when the name was claimed a second time, the entry would be marked invalid and no further responses would be sent.<br>
<br>Or, if you choose a mode with no unqualified names, consider allowing dotless names from /etc/hosts and the config file to still be resolved.<br> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
<br>
Cheers,<br>
<br>
Simon.<br>
<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><br>
</blockquote></div><br></div>