[Dnsmasq-discuss] DNSMasq script lookup

richardvoigt at gmail.com richardvoigt at gmail.com
Fri Mar 30 19:33:17 BST 2012


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

> On 29/03/12 20:12, richardvoigt at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/attachments/20120330/703072da/attachment.html>


More information about the Dnsmasq-discuss mailing list