Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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 in the process of changing the IP address of my nameserver and I want a way to tell how many queries I am still receiving on the old IP address to track how well the change is being picked up.

Is this something I can do in BIND9 logging or would I have to go outside it to something like tcpdump to track this? I want to still process queries on multiple IPs but I want some sign of the relative quantity of queries between the 2 IPs.

share|improve this question
What operating system is it on? – bahamat Sep 14 '11 at 19:49

Here is a hack: for each IP, use identical named.conf config files except for different listen-on directives and a logging clause for for the old IP address.

share|improve this answer

I fear Bind can not do it. There is no print-interface available. See the documentation:

Maybe Iptables helps to do that. There is a ULOG target for user space logging of packets and a corresponding ulogd. See here:

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.