bind 9 master and slave
發表於 : 2009-01-19 23:25:17
http://www.howtoforge.com/debian_bind9_ ... ave_system
產生 key
dnssec-keygen -a hmac-md5 -b 128 -n host linux.lan
=====================================
master
zone file /etc/bind
key "TRANSFER" {
algorithm hmac-md5;
secret "xxxx";
};
server slave_ip {
keys {
TRANSFER;
};
};
=====================================
slave
transfer zone file /var/cache/bind
key "TRANSFER" {
algorithm hmac-md5;
secret "rKvEno+7/25yp3GZzNeiMg==";
};
產生 key
dnssec-keygen -a hmac-md5 -b 128 -n host linux.lan
=====================================
master
zone file /etc/bind
key "TRANSFER" {
algorithm hmac-md5;
secret "xxxx";
};
server slave_ip {
keys {
TRANSFER;
};
};
=====================================
slave
transfer zone file /var/cache/bind
key "TRANSFER" {
algorithm hmac-md5;
secret "rKvEno+7/25yp3GZzNeiMg==";
};