BIND9 on Debian Squeeze and problems with zone transfers.

That title might be longer than this post, but if you’re running into problems with zone transfers that don’t appear to happen, check to make sure you are putting your zone files in /var/cache/bind.

Specifically, I was setting up a slave DNS server on my SheevaPlug and couldn’t figure out why transfers were not completing. They appeared to be working from the master DNS server;

But on the slave side, there was no activity. No error messages, no empty files, no nothing. Googling around a bit found a tidbit about AppArmor only allowing BIND to write in /var/cache/bind. I changed /etc/bind/named.conf.default-zones as follows, restarted BIND and presto – my zone files appeared in /var/cache/bind. Woohoo.

0 replies

Leave a Reply

Want to join the discussion?
Feel free to contribute!

Leave a Reply

Your email address will not be published. Required fields are marked *