LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices

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

Rep: Reputation: 206Reputation: 206Reputation: 206
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 168.192.in-addr.arpa. zone under the $ORIGIN 25.168.192.in-addr.arpa. section:

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

Code:
rndc reload
/etc/init.d/bind9 reload
and yet:

Code:
dig @localhost 168.192.in-addr.arpa 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:

Code:
zone "168.192.in-addr.arpa" {
        type master;
        notify yes;
        file "/etc/bind/db.192.168";
        allow-update { key "rndc-key"; };
    journal "/var/lib/bind/168.192.in-addr.arpa.jnl";
};
Thanks in advance for any ideas.
 
Old 04-13-2010, 02:33 PM   #2
jhwilliams
Senior Member
 
Registered: Apr 2007
Location: Portland, OR
Distribution: Debian, Android, LFS
Posts: 1,168

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


Reply


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
Trackbacks are Off
Pingbacks are On
Refbacks are 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


All times are GMT -5. The time now is 10:52 PM.

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