LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
LinkBack Search this Thread
Old 07-08-2009, 12:42 PM   #1
mario.almeida
Member
 
Registered: May 2008
Location: India
Distribution: Ubuntu 10.04, CentOS
Posts: 177

Rep: Reputation: 26
BIND reload


Hi All,

When ever I make changes to the zone file either add or delete some entries and do a /etc/init.d/named reload changes are not taken place
Have to restart named for the changes to take effect.

OS = CentOS release 5.3 (Final)

Bind packages

bind-chroot-9.3.4-10.P1.el5
bind-utils-9.3.4-10.P1.el5
bind-9.3.4-10.P1.el5
system-config-bind-4.0.3-4.el5.centos
bind-libs-9.3.4-10.P1.el5
caching-nameserver-9.3.4-10.P1.el5_3.1

//Remy
 
Old 07-08-2009, 12:45 PM   #2
rupertwh
Member
 
Registered: Sep 2006
Location: Munich, Germany
Distribution: Debian / Ubuntu
Posts: 292

Rep: Reputation: 46
Did you increase the serial number?
 
Old 07-08-2009, 12:49 PM   #3
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Slackware 14.0
Posts: 8,464

Rep: Reputation: 877Reputation: 877Reputation: 877Reputation: 877Reputation: 877Reputation: 877Reputation: 877
Try to use
Code:
rndc reconfig
see also
man rndc and rndc -help
 
Old 07-08-2009, 01:19 PM   #4
mario.almeida
Member
 
Registered: May 2008
Location: India
Distribution: Ubuntu 10.04, CentOS
Posts: 177

Original Poster
Rep: Reputation: 26
Quote:
Originally Posted by repo View Post
Try to use
Code:
rndc reconfig
see also
man rndc and rndc -help
Serial Number is increased

cat rndc.conf
# Start of rndc.conf
options {
default-key "rndckey";
default-server 127.0.0.1;
default-port 953;
};

server localhost {
key rndckey;
};

key "rndckey" {
algorithm hmac-md5;
secret "VVNS/NBXEoFat/B5GouL7A==";
};

cat rndc.key
# Use with the following in named.conf, adjusting the allow list as needed:
key "rndckey" {
algorithm hmac-md5;
secret "VVNS/NBXEoFat/B5GouL7A==";
};

What else could be the problem

//Remy
 
Old 08-03-2009, 01:37 PM   #5
mario.almeida
Member
 
Registered: May 2008
Location: India
Distribution: Ubuntu 10.04, CentOS
Posts: 177

Original Poster
Rep: Reputation: 26
Quote:
Originally Posted by mario.almeida View Post
Serial Number is increased

cat rndc.conf
# Start of rndc.conf
options {
default-key "rndckey";
default-server 127.0.0.1;
default-port 953;
};

server localhost {
key rndckey;
};

key "rndckey" {
algorithm hmac-md5;
secret "VVNS/NBXEoFat/B5GouL7A==";
};

cat rndc.key
# Use with the following in named.conf, adjusting the allow list as needed:
key "rndckey" {
algorithm hmac-md5;
secret "VVNS/NBXEoFat/B5GouL7A==";
};

What else could be the problem

//Remy
had to remove
allow-update { localhost };
from the named.conf files under each zone
after that reload worked

any idea why after removing that entry it worked?

Last edited by mario.almeida; 08-03-2009 at 01:39 PM.
 
  


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
Bind problem: config files are missing after re-install bind 9.5 on Fedora Core 8 elvisious Linux - Software 1 07-15-2008 07:49 PM
Can I bind to a serial port using BIND Socket API?? venkat_p257 Linux - General 2 12-04-2007 05:49 AM
LXer: DNS: The Bind Leading the Bind LXer Syndicated Linux News 0 06-15-2006 10:33 PM
Tomcat reload servlet is very slow, but reload jsp is fast and good? gsbarry Programming 2 04-28-2006 09:34 PM
how to reload linux? zacherfamily Linux - Newbie 1 09-06-2005 10:50 PM


All times are GMT -5. The time now is 07:37 AM.

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