<div dir="ltr">On Tue, Jul 30, 2013 at 12:16 AM, Christoph Anton Mitterer <span dir="ltr"><<a href="mailto:calestyo@scientia.net" target="_blank">calestyo@scientia.net</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote">

<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">it's just that we're probably better off with<br>

suggesting people only one variant... so we can phase out the other on<br>
the long term scale...<br></blockquote><div><br></div><div><br></div><div>I'll make "dns-nameserver" the canonical one and "dns-nameservers" an explicitly supported alternative. The former is more consistent with the semantics of resolv.conf; the latter is too established to eliminate now.</div>

<div><br></div><div>The other reason for recommending "dns-nameserver" is that it takes exactly one argument. This leaves room to extend the semantics of this option in the future. E.g., it might be useful to be able to say</div>

<div><br></div><div>    dns-nameserver 192.168.1.254 some.domain</div><div>    dns-nameserver 12.34.56.78 another.one</div><div>    dns-nameserver 8.8.8.8</div><div><br></div><div>meaning that *.some.domain queries should be routed to 192.168.1.254; *.another.one to 12.34.56.78 and the rest to 8.8.8.8. Dnsmasq supports this sort of query routing.</div>

<div> <br></div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Perhaps you should also ask the ifupdown people what they're going to<br>


plan with their stanzas at the long term.<br>
Especially for the "address" keyword a version that supports more<br>
addresses per line would be reasonable... and I guess the concepts<br>
should be kept more or less sync on all the /e/n/interfaces keywords.<br></blockquote><div><br></div><div><br></div><div>Accepting multiple instances of an option in a stanza is a feature that was recently added to ifupdown. I presume that it will continue to be a supported feature in the future. :)</div>

<div>-- </div><div>Thomas </div></div></div></div>