[Pdns-dev] qtype in queries

Lionel Elie Mamane lionel at mamane.lu
Tue Apr 7 08:37:40 CEST 2009


On Mon, Apr 06, 2009 at 02:16:15PM +0200, Alexander Gropp wrote:

> I use pdns with the mysql backend and I use nslookup and sdig to send
> queries. If I send a query with qtype MX, the qtype of the first
> sql-query that pdns creates for the GSQL-Backend is ANY. In a second
> step pdns sends a sql-query with qtype A to resolve the name of the
> MX-record. I don't understand why the type is ANY and not MX. Can
> anybody give me a hint.

Probably because it needs to check if the RR is a CNAME, and doing one
ANY request (and plowing through the multiple results) is faster than
doing a CNAME and then a MX request?

-- 
Lionel


More information about the Pdns-dev mailing list