Пример организации конфигурации bind с различными view на slave и master серверах.
(Example: bind view on slave and master servers (bind9))
(Example: bind view on slave and master servers (bind9))
примеры view на Master:
view "iskra" {
match-clients { key iskra; iskra; };
recursion yes;
zone "fttb" {
type master;
file "master/fttb.iskra.zone";
};
};
view "berez" {
match-clients { key berez; berez; };
recursion yes;
zone "fttb" {
type master;
file "master/fttb.berez.zone";
};
};
view "mdol" {
match-clients { key mdol; mdol; };
recursion yes;
zone "fttb" {
type master;
file "master/fttb.mdol.zone";
};
};
примеры view Slave:
view "iskra" {
match-clients { key iskra; iskra; };
server 172.22.2.1 { keys iskra; };
recursion yes;
zone "fttb" {
type slave;
file "slave/fttb.iskra.zone";
masters { 172.22.2.1;};
};
};
view "berez" {
match-clients { key berez; berez; };
server 172.22.2.1 { keys berez; };
recursion yes;
zone "fttb" {
type slave;
file "slave/fttb.berez.zone";
masters { 172.22.2.1;};
};
};
view "mdol" {
match-clients { key mdol; mdol; };
server 172.22.2.1 { keys mdol; };
recursion yes;
zone "fttb" {
type slave;
file "slave/fttb.mdol.zone";
masters { 172.22.2.1;};
};
};
...
acl berez {
10.128.64.0/19;
};
acl iskra {
10.136.0.0/18;
};
acl mdol {
10.8.128.0/21;
};
key "berez" {
algorithm hmac-md5;
secret "aaaaaaaaaaaaaaaaaaaaaaaaa==";
};
key "mdol" {
algorithm hmac-md5;
secret "xxxxxxxxxxxxxxxxxx==";
};
key "iskra" {
algorithm hmac-md5;
secret "zzzzzzzzzzzzzzzzzzzzz==";
Комментариев нет:
Отправить комментарий