Results 1 to 6 of 6
Im using centos 5.3
I cant get both my views to transfer to the slave. Only one is being transferd....
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 10-26-2009 #1Just Joined!
- Join Date
- Oct 2009
- Posts
- 5
views + master/slave in bind9
Im using centos 5.3
I cant get both my views to transfer to the slave. Only one is being transferd.
- 10-26-2009 #2
Are both Slave and Master setup to allow the transfer?
- 10-26-2009 #3Just Joined!
- Join Date
- Oct 2009
- Posts
- 5
Yes, as i said i can transfer one of the view but not the other.
- 10-26-2009 #4
What do your named.conf files look like for both Master and Slave?
- 10-26-2009 #5Just Joined!
- Join Date
- Oct 2009
- Posts
- 5
master:
options {
directory "/var/named/";
recursion no;
notify yes;
allow-transfer {192.168.0.4;};
};
view "intern" {
match-clients {192.168.0.1; };
zone "dala.hk." {
type master;
file "data/intern/dala.hk.zone";
};
zone "0.168.192.in-addr.arpa" {
type master;
file "data/intern/1.0.168.192.in-addr.arpa";
};
};
view "extern" {
match-clients { any;};
zone "dala.hk" {
file "data/extern/dala.hk.zone";
type master;
};
};
#zone "0.168.192.in-addr.arpa." {
# type master;
# file "data/extern/1.0.168.192.in-addr.arpa";
#
#};
logging {
channel query.log {
file "/var/log/query.log";
severity dynamic;
};
category default {
query.log;
};
}
slave:
options {
directory "/var/named/";
};
view "intern" {
match-clients {192.168.0.1;};
zone "dala.hk." {
type slave;
file "intern";
masters { 192.168.0.1; };
};
};
view "extern" {
match-clients {any;};
zone "dala.hk." {
type slave;
file "extern";
masters {192.168.0.1; };
};
};
logging {
channel query.log {
file "/var/log/query.log";
severity debug 3;
};
category queries { query.log; };
};
#key 12 {
#algorithm hmac-md5;
#secret "12s3RvrjqaioiXCYK5lm0w==";
#};
- 10-27-2009 #6
Check that the directories that should host the file are writable by named.
Also run named-checkconf in the dir where named.conf is located for any errors.


Reply With Quote
