Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 04-13-2010, 02:28 PM   #1
Senior Member
Registered: Apr 2007
Location: Portland, OR
Distribution: Debian, Android, LFS
Posts: 1,168

Rep: Reputation: 211Reputation: 211Reputation: 211
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.
Old 04-13-2010, 02:33 PM   #2
Senior Member
Registered: Apr 2007
Location: Portland, OR
Distribution: Debian, Android, LFS
Posts: 1,168

Original Poster
Rep: Reputation: 211Reputation: 211Reputation: 211
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.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Bind9 Zone Transfer Issues lomax0990 Linux - Server 6 10-23-2009 01:46 AM
bind9 zone file question r3gan Linux - Software 6 06-18-2008 05:49 PM
bind9: configuration: non-authoritative zone tilman1 Linux - Networking 3 05-11-2008 05:06 PM
shared zone file in bind9 matiasquestions Linux - Server 2 04-04-2008 09:02 AM
DNS Zone x-fer - From one zone to another / Debian 3.1 + BIND9 kenwoodgt Linux - Software 0 11-01-2006 10:28 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:38 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration