To sync same time b/w server/client
1. yum install xinetd
2. chkconfig xinetd on
3. chkconfig --list
4. chkconfig time-stream on
To sync same time on client
1. rdate -s <Serversip>
Configure RNDC SERVER
1. rm -rf /etc/rndc.key
2. rndc-confgen -a
3. vim /etc/named.conf //Add entires to this file
4. vim /etc/rndc.conf //Add entries to this file
5. scp /etc/rndc.conf 192.168.0.20:/etc
6. pkill named
7. service named restart
8. rndc reload
Configure RNDC CLIENT
1. rdate -s <serverip>
2. yum install bind caching-nameserver -y
3. vim /etc/rndc.key
4. rndc reload
5. rndc stop
CONFIGURATION FILE
1. RNDC REMOTE
1A. rndc.key
options {
default-server 192.168.0.47;
default-key "rndckey";
};
key "rndckey" {
algorithm hmac-md5;
secret "SjqFWGr1IerqNu4fJnsBAg==";
};
2. RNDC SERVER
2A. named.conf
options {
directory "/var/named";
};
controls {
inet 127.0.0.1 allow { localhost; } keys { rndckey; };
inet 192.168.0.47 allow { 192.168.0.64; } keys { rndckey; };
};
zone "example.com" IN {
type master;
file "localhost.zone";
};
zone "0.168.192.in-addr.arpa" IN {
type master;
file "named.local";
};
2B. rndc.conf
options {
default-server localhost;
default-key "rndckey";
};
key "rndckey" {
algorithm hmac-md5;
secret "SjqFWGr1IerqNu4fJnsBAg==";
};
2C. rndc.key
options {
default-server 192.168.0.47;
default-key "rndckey";
};
key "rndckey" {
algorithm hmac-md5;
secret "SjqFWGr1IerqNu4fJnsBAg==";
};
If you found this post useful, I would really love it, if you can Like the Page, or share it with your Facebook/Google+/Twitter Friends... It will keep me motivated. Thank you!
1. yum install xinetd
2. chkconfig xinetd on
3. chkconfig --list
4. chkconfig time-stream on
To sync same time on client
1. rdate -s <Serversip>
Configure RNDC SERVER
1. rm -rf /etc/rndc.key
2. rndc-confgen -a
3. vim /etc/named.conf //Add entires to this file
4. vim /etc/rndc.conf //Add entries to this file
5. scp /etc/rndc.conf 192.168.0.20:/etc
6. pkill named
7. service named restart
8. rndc reload
Configure RNDC CLIENT
1. rdate -s <serverip>
2. yum install bind caching-nameserver -y
3. vim /etc/rndc.key
4. rndc reload
5. rndc stop
CONFIGURATION FILE
1. RNDC REMOTE
1A. rndc.key
options {
default-server 192.168.0.47;
default-key "rndckey";
};
key "rndckey" {
algorithm hmac-md5;
secret "SjqFWGr1IerqNu4fJnsBAg==";
};
2. RNDC SERVER
2A. named.conf
options {
directory "/var/named";
};
controls {
inet 127.0.0.1 allow { localhost; } keys { rndckey; };
inet 192.168.0.47 allow { 192.168.0.64; } keys { rndckey; };
};
zone "example.com" IN {
type master;
file "localhost.zone";
};
zone "0.168.192.in-addr.arpa" IN {
type master;
file "named.local";
};
2B. rndc.conf
options {
default-server localhost;
default-key "rndckey";
};
key "rndckey" {
algorithm hmac-md5;
secret "SjqFWGr1IerqNu4fJnsBAg==";
};
2C. rndc.key
options {
default-server 192.168.0.47;
default-key "rndckey";
};
key "rndckey" {
algorithm hmac-md5;
secret "SjqFWGr1IerqNu4fJnsBAg==";
};
If you found this post useful, I would really love it, if you can Like the Page, or share it with your Facebook/Google+/Twitter Friends... It will keep me motivated. Thank you!
No comments:
Post a Comment