[Pdns-users] [bert.hubert at netherlabs.nl: Re: qtype argument to pipe backend is always set to 'ANY' (continued)]

bert hubert bert.hubert at netherlabs.nl
Thu Feb 4 09:13:10 UTC 2010


----- Forwarded message from bert hubert <bert.hubert at netherlabs.nl> -----

Date: Thu, 4 Feb 2010 10:12:48 +0100
From: bert hubert <bert.hubert at netherlabs.nl>
To: Sudarshan Raghavan <sudarshan.t.raghavan at gmail.com>
Subject: Re: [Pdns-users] qtype argument to pipe backend is always set to
	'ANY' (continued)

On Thu, Feb 04, 2010 at 02:41:08PM +0530, Sudarshan Raghavan wrote:
> Thanks for the explanation. Consider the scenario where a client wants
> to get the NS records for a domain and is not interested in any MX
> records that are available for this domain. How is the backed supposed
> to know this if 'ANY' is passed? We will end up returning the NS and
> MX records in this case.

Remember that a database backend is not a DNS protocol. PowerDNS knows about
this, and will filter.

> I am assuming the answer to this question would be it does not hurt to
> send out the MX records in the response. The client gets the
> information it wants and the extra stuff will be useful for any
> intermediate dns caches. Is my understanding correct?

No, PowerDNS discards the other data if it does not need it.

	Bert

----- End forwarded message -----



More information about the Pdns-users mailing list