LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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
  Search this Thread
Old 08-12-2010, 01:46 AM   #1
LBM
Member
 
Registered: Aug 2010
Location: Denmark
Distribution: Debian
Posts: 114

Rep: Reputation: 1
Update bind after zonefile changes


I have a master - slave setup of Bind9 on a debian installation, which runs as exspected.

But, there is something I do not understand.
Everytime a zonefile is changed, it is required to run "rndc reload" command or else bind will never pickup the changes in the zonefile. The serial is updated as well!

Running "rndc reload" will also force an update to the slave servers.
BUT, what is the purpose then of the "Refresh" value in the zonefile, if it is required to run the "rndc reload" command manually after changes, when this also forces the slave servers to update?

The Refresh value looks for changes for the slaves on the master in a given timeframe. But since the master will never pickup the changes automatically, it really does not have a function?

Or am I doing something wrong?

Thanks
 
Old 08-13-2010, 12:07 AM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
Hi and welcome to LQ
Quote:
Everytime a zonefile is changed, it is required to run "rndc reload" command or else bind will never pickup the changes in the zonefile. The serial is updated as well!
This is how a master dns server gets notified that a zone has changed

Quote:
Running "rndc reload" will also force an update to the slave servers.
It does not force an update. It sends a NOTIFY to slaves and they start the procedure to update. You can stop NOTIFY, so slaves will not be notified.

Quote:
BUT, what is the purpose then of the "Refresh" value in the zonefile, if it is required to run the "rndc reload" command manually after changes, when this also forces the slave servers to update?
The Refresh and the other times in the SOA record are used by the slave in case it doesn't receive a NOTIFY from master.

Take a look at this for more details

Regards
 
1 members found this post helpful.
Old 08-13-2010, 01:19 AM   #3
LBM
Member
 
Registered: Aug 2010
Location: Denmark
Distribution: Debian
Posts: 114

Original Poster
Rep: Reputation: 1
Awsome man. That explains it.

Thanks a lot.
 
  


Reply



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
BIND Update Rig24 Linux - Software 3 04-18-2007 08:13 AM
How to update BIND ./etc/bind/db.coaxcables AndeAnderson Debian 0 03-03-2006 09:35 AM
BIND DNS update objorkum Linux - Networking 2 04-16-2004 10:26 AM
quick BIND9 zonefile question ocularbob Linux - Networking 4 09-29-2003 02:31 PM
getting bind to update dynamically acid_kewpie Linux - Networking 1 11-23-2002 05:28 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:49 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration