Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm setting up a new PowerDNS server version 2.9.22 running on Debian Lenny in a Xen instance, and for some reason it is reporting that the packetcache size is 0 when I run a /etc/init.d/pdns dump:


This was taken in the middle of a dns benchmark run so the packet cache should be populated with something also given that packetcache-hit is increasing shows that its hitting against something but I don't know what. cache-ttl,negquery-ttl and query-cache-ttl are all set to 60 seconds.

This always wasn't a problem, only popped up today when I restarted the instance and it just stopped working, I'm drawing a blank what I might have changed in the instance to cause this.

Can anybody point me in the right direction on how to fix this issue?

share|improve this question

I am not sure what your benchmark tests for but if you have packet cache hits and a packet cache size of 0 that might imply that all of the queries so far were for non existent records i.e. those that will return an NXDOMAIN response. I also see that you have about 75% of your packet cache hits in packet cache miss so these must all be queries for things the packet cache has not previously seen.

I think you are running a benchmark intended for recursive DNS on your authoritative PowerDNS Server. Testing for NXDOMAIN responses is essential to authoritative DNS Operation too but it will be equally worth testing for qnames that your server actually knows about i.e. that will result in NOERROR answers.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.