<br><br><div class="gmail_quote">On Fri, Mar 30, 2012 at 9:26 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="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">On 29/03/12 20:12, <a href="mailto:richardvoigt@gmail.com" target="_blank">richardvoigt@gmail.com</a> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
On thing which might be interesting, is to define a new type of<br>
upstream server (maybe called a look-aside server) which dnsmasq will<br>
send a query to first, and which if it can't answer the query can<br>
return a custom return-code "Not known", which causes dnsmasq to then<br>
push the query into the standard server pathway.<br>
<br>
<br>
How's this help? Hasn't dnsmasq thrown away the information it would<br>
need to send the query to a second server at this point?<br>
</blockquote>
<br></div>
The look-aside server speaks the DNS protocol, which implies that the<br>
"Not known" reply includes the original query, giving dnsmasq the<br>
information is needs to send the query on.<br></blockquote><div><br></div><div>Ah, I wasn't aware that every reply includes the original request including all options.</div><div><br></div></div>