On Fri, Mar 30, 2012 at 9:26 AM, Simon Kelley <si...@thekelleys.org.uk>wrote:

> On 29/03/12 20:12, richardvo...@gmail.com wrote:
>
>>
>> On thing which might be interesting, is to define a new type of
>> upstream server (maybe called a look-aside server) which dnsmasq will
>> send a query to first, and which if it can't answer the query can
>> return a custom return-code "Not known", which causes dnsmasq to then
>> push the query into the standard server pathway.
>>
>>
>> How's this help?  Hasn't dnsmasq thrown away the information it would
>>  need to send the query to a second server at this point?
>>
>
> The look-aside server speaks the DNS protocol, which implies that the
> "Not known" reply includes the original query, giving dnsmasq the
> information is needs to send the query on.
>

Ah, I wasn't aware that every reply includes the original request including
all options.
_______________________________________________
Dnsmasq-discuss mailing list
Dnsmasq-discuss@lists.thekelleys.org.uk
http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss

Reply via email to