I do the same... :)

On 2/3/13, Zane Thomas <[email protected]> wrote:
> Benjamin,
>
> By the way, I don't use the PDNS cache because I sometimes need to
> vary the response based on the requestor's ip address. Instead I
> handle all caching in the backend.
>
> Zane
>
> On Sun, Feb 3, 2013 at 1:31 PM, Veniamin (Benjamin) Beskrovny
> <[email protected]> wrote:
>> THanks a lot for the tip.
>>
>> BR
>>
>> On 2/3/13, Zane Thomas <[email protected]> wrote:
>>> Benjamin,
>>>
>>> DNSPacket * which is passed in to the lookup method can be used to
>>> determine what the original query type was. I very much needed to use
>>> the packet pointer in order to select which records of a set which, in
>>> the database my backend interfaces too, are as a set non-rfc
>>> compliant. My approach was to look a  the packet query type and return
>>> to pdns only those records it needs to answer the query.
>>>
>>> Zane
>>>
>>>
>>>
>>> On Sat, Feb 2, 2013 at 10:17 PM, Ask Bjørn Hansen <[email protected]>
>>> wrote:
>>>>
>>>> On Feb 2, 2013, at 10:08 PM, Peter van Dijk
>>>> <[email protected]>
>>>> wrote:
>>>>
>>>>> However, no backend should *need* the exact qtype. Why do you think
>>>>> you
>>>>> need it?
>>>>
>>>> For my application[1] it's (relatively) expensive to figure out the
>>>> answer
>>>> and the answers can't be cached in the server, so figuring it out for
>>>> any
>>>> possible record type is just wasteful.
>>>>
>>>>
>>>> Ask
>>>>
>>>> [1] I made it in Go instead of as a pipe backend when I was upgrading
>>>> the
>>>> system last fall: https://github.com/abh/geodns
>>>> _______________________________________________
>>>> Pdns-dev mailing list
>>>> [email protected]
>>>> http://mailman.powerdns.com/mailman/listinfo/pdns-dev
>>>
>>>
>>>
>>> --
>>> Nullius addictus jurare in verba magistri.
>>> _______________________________________________
>>> Pdns-dev mailing list
>>> [email protected]
>>> http://mailman.powerdns.com/mailman/listinfo/pdns-dev
>>>
>
>
>
> --
> Nullius addictus jurare in verba magistri.
>
_______________________________________________
Pdns-dev mailing list
[email protected]
http://mailman.powerdns.com/mailman/listinfo/pdns-dev

Reply via email to