<div dir="ltr"><br><br><div class="gmail_quote"><div dir="ltr">On Wed, Feb 24, 2016 at 12:30 PM Mark Andrews <<a href="mailto:marka@isc.org">marka@isc.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
In message <<a href="mailto:E7385EF3-1128-4F81-87FD-EF5CB55ED92B@nau.edu" target="_blank">E7385EF3-1128-4F81-87FD-EF5CB55ED92B@nau.edu</a>>, Mathew Ian Eis write<br>
s:<br>
Illegal character '-' in input file.<br>
> Hi BIND,<br>
><br>
> Ive encountered (quite by accident) an interesting behavior in BIND with<br>
> wildcard domains:<br>
><br>
> The relevant configuration is a zone; e.g. <a href="http://bar.com" rel="noreferrer" target="_blank">bar.com</a>, with what Ill call a<br>
> second level wildcard host, e.g. *.<a href="http://foo.bar.com" rel="noreferrer" target="_blank">foo.bar.com</a> A 10.10.10.5 in that zone.<br>
> (as opposed to what might be considered the more usual wildcard host<br>
> record of *.<a href="http://bar.com" rel="noreferrer" target="_blank">bar.com</a>).<br>
><br>
> <a href="http://buz.foo.bar.com" rel="noreferrer" target="_blank">buz.foo.bar.com</a> returns A 10.10.10.5 as expected.<br>
><br>
> However, a query for <a href="http://foo.bar.com" rel="noreferrer" target="_blank">foo.bar.com</a> returns NOERR with zero results, when I<br>
> would expect a NXDOMAIN.<br>
<br>
Why?  If *.<a href="http://foo.bar.com" rel="noreferrer" target="_blank">foo.bar.com</a> exists then <a href="http://foo.bar.com" rel="noreferrer" target="_blank">foo.bar.com</a>, <a href="http://bar.com" rel="noreferrer" target="_blank">bar.com</a> and com all exist.<br>
<br>
> Anyone know if the NOERR with zero results is the expected / correct<br>
> behavior?<br>
<br>
It is the expected behaviour<br></blockquote><div><br></div><div>Nah, it is the *correct* behavior, fairly clearly it is not the *expected* behavior :-P</div><div><br></div><div>W</div><div>(sorry, I'm feeling ornery today...)</div><div><br></div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
> Thanks in advance,<br>
><br>
> Mathew Eis<br>
> Northern Arizona University<br>
> Information Technology Services<br>
><br>
_______________________________________________<br>
Please visit <a href="https://lists.isc.org/mailman/listinfo/bind-users" rel="noreferrer" target="_blank">https://lists.isc.org/mailman/listinfo/bind-users</a> to unsubscribe from this list<br>
<br>
bind-users mailing list<br>
<a href="mailto:bind-users@lists.isc.org" target="_blank">bind-users@lists.isc.org</a><br>
<a href="https://lists.isc.org/mailman/listinfo/bind-users" rel="noreferrer" target="_blank">https://lists.isc.org/mailman/listinfo/bind-users</a><br>
</blockquote></div></div>