Hi,
I have setup a GeoDNS server using multiple view concept. I have done the setup but my problem is when I do a update in one view this wont replicate in slave server view.
Master Server IP address is : 192.168.30.238
Slave I have added few IP address : 192.168.30.251; 192.168.30.247; 192.168.30.253
Please find the below configuration files.
--
Master server Named.conf file.
acl internal {
192.168.30.0/24;
};
acl intranet {
192.168.20.0/24;
};
view "internal"
{ match-clients { !192.168.30.253; !192.168.30.251; internal; };
zone "." {
type hint;
file "internal/named.ca";
};
zone "test.org" {
type master;
file "internal/db.test.org";
allow-transfer { 192.168.30.251; 192.168.30.247; 192.168.30.253; };
allow-update { none; };
notify yes ;
};
};
view "intranet"
{ match-clients { !192.168.30.253; !192.168.30.251; intranet; };
zone "." {
type hint;
file "intranet/named.ca";
};
zone "test.org" {
type master;
file "intranet/db.test.org";
allow-transfer { 192.168.30.251; 192.168.30.247; 192.168.30.253; };
allow-update { none; };
notify yes ;
};
};
view "any"
{ match-clients { any; };
zone "." {
type hint;
file "any/named.ca";
};
zone "test.org" {
type master;
file "any/db.test.org";
allow-transfer { 192.168.30.251; 192.168.30.247; 192.168.30.253; };
allow-update { none; };
notify yes ;
};
};
=============
Slave server named.conf file
acl internal {
192.168.30.0/24;
};
acl intranet {
192.168.20.0/24;
};
view internal {
match-clients { internal; };
zone "." IN {
type hint;
file "internal/named.ca";
};
zone "test.org" {
type slave;
masters {192.168.30.238; };
transfer-source 192.168.30.247;
file "internal/secondary/db.tes
t.org";
};
};
view intranet {
match-clients { intranet; };
zone "." IN {
type hint;
file "intranet/named.ca";
};
zone "test.org" {
type slave;
masters {192.168.30.238; };
transfer-source 192.168.30.247;
file "intranet/secondary/db.tes
t.org";
};
};
view any {
match-clients { any; };
zone "." IN {
type hint;
file "any/named.ca";
};
zone "test.org" {
type slave;
masters {192.168.30.238; };
transfer-source 192.168.30.247;
file "any/secondary/db.test.org
";
};
};
===================
My problem is when I am doing a change in Master server this will only update to "any" view.
If I do change in internal or intranet view this will not replicate to slave.
I followed the below document
http://www.oreillynet.com/pub/a/oreilly/networking/news/views_0501.htmlPlease help me to resolve this issue as I have to complete this task soon.
Ram.