[Pdns-users] Handling malformed queries.

bert hubert bert.hubert at netherlabs.nl
Tue Oct 31 09:12:09 UTC 2006


On Mon, Oct 30, 2006 at 02:09:52PM -0800, Augie Schwer wrote:
> When PowerDNS receives a malformed qdomain (google%com) it drops the
> query and the client eventually times out; BIND it seems will either
> give a NXDOMAIN or root referrals; wouldn't it be better if PowerDNS
> did something similar from a clients perspective?

In the past this has lead to "hammering", with clients repeating broken
queries the moment the servfail comes in. Silence appears to be the best way
to react to broken queries. Garbage in, garbage out etc.

It may not be the optimal user experience, but amortaged it is, as the
nameserver is far quicker to respond to bonafide queries when not being
flooded by broken clients.

	Bert

-- 
http://www.PowerDNS.com      Open source, database driven DNS Software 
http://netherlabs.nl              Open and Closed source services


More information about the Pdns-users mailing list