-   Linux - Software (
-   -   bind9 dynamic zone not reloading (

jhwilliams 04-13-2010 02:28 PM

bind9 dynamic zone not reloading
Hi there,

I suppose this is somewhat esoteric, but hopefully some bind9 guru will see this.

I have a dynamic-dns setup that updates from DHCP. In my reverse zone file, I have some mappings that are more or less static (as in, outside of the DHCP range that updates to dhcp-<ipaddr>.domain.tld)

When I add new records to this zone and then reload the zone file (making sure to update the serial number), the name server still does not serve these new records. For example, I might add the following to my zone under the $ORIGIN section:


45 IN PTR new-host.example.tld.
I then proceed to try:


rndc reload
/etc/init.d/bind9 reload

and yet:


dig @localhost AXFR | grep new-host
does not return the record I added manually to the file. All of the pre-existing records (including both DHCP generated and "static" names alike) are working fine.

I have a .jnl journal file in /var/lib for the zone, which whenever I look has file size 0. I have even tried to flush the cache. What could be causing this behavior?

Here is my zone conf in named.conf.local:


zone "" {
        type master;
        notify yes;
        file "/etc/bind/db.192.168";
        allow-update { key "rndc-key"; };
    journal "/var/lib/bind/";

Thanks in advance for any ideas.

jhwilliams 04-13-2010 02:33 PM

Oops. Sorry. I just now found the right link on Google. For anyone who sees this, check out rndc freeze and rndc thaw. rndc witll not allow you to reload a dynamic zone, so you must first freeze it before updating.

All times are GMT -5. The time now is 05:29 AM.