[Pdns-dev] passing original QTYPE to the backend

Peter van Dijk peter.van.dijk at netherlabs.nl
Sun Feb 3 07:23:42 CET 2013


Hello Zane,

if they, as a set, are not RFC compliant, how did you intend to handle -actual- ANY queries?

On Feb 3, 2013, at 7:22 , Zane Thomas wrote:

> 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.

Kind regards,
-- 
Peter van Dijk
Netherlabs Computer Consulting BV - http://www.netherlabs.nl/



More information about the Pdns-dev mailing list