centos 5.7 bind 9.9 вообщем есть master там всё гуд работает и есть slave - зоны скачивают и всё хорошо но открываешь файл а там
^@^@^@^B^@^@^@^AO���^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@<^@^A^@^B^@^@^@^@T`^@^@^@^B^@^V^C168^C192^Gin-addr^Darpa^@^@^G^Cns1^Ai^@^@^G^Cns2^Ai^@^@^@^@U^@^A^@^F^@^@^@^@T`^@^@^@^A^@^V^C168^C192^Gin-addr^Darpa^@^@)^Cns1^Ai^@^Droot^Esrv01^Ai^@w�-,^$
^Ffront1^Ai^@^@^@^@8^@^A^@^L^@^@^@^@T`^@^@^@^A^@^Z^A4^A3^C168^C192^Gin-addr^Darpa^@^@^H^Dphp1^Ai^@^@^@^@8^@^A^@^L^@^@^@^@T`^@^@^@^A^@^Z^A5^A3^C168^C192^Gin-addr^Darpa^@^@^H^Dphp2^Ai^@^@^@^@:^@^A^@^L^@^@^@^@T`^@^@^@^A^@^Z^A6^A3^C168^C192$
^Fredis1^Ai^@^@^@^@7^@^A^@^L^@^@^@^@T`^@^@^@^A^@^Z^A8^A3^C168^C192^Gin-addr^Darpa^@^@^G^Cdb1^Ai^@^@^@^@7^@^A^@^L^@^@^@^@T`^@^@^@^A^@^Z^A9^A3^C168^C192^Gin-addr^Darpa^@^@^G^Cds5^Ai^@
щито енто такое ?) master конфиг
acl local { 192.168.3.0/24; 192.168.4.0/24; 92.160.71.62/29; };
options {
// query-source port 53;
// query-source-v6 port 53;
// Put files that named is allowed to write in the data/ directory:
directory "/var/named"; // the default
dump-file "data/cache_dump.db";
statistics-file "data/named_stats.txt";
memstatistics-file "data/named_mem_stats.txt";
allow-recursion { 192.168.0.0/16; };
allow-transfer { 192.168.3.55; };
forwarders {
4.4.4.4;
8.8.8.8;
};
};
zone "." {
type hint;
file "named.root";
};
zone "test" {
allow-query { local; };
type master;
file "master/test";
};
slave конфиг
acl local { 192.168.1.0/24; 192.168.2.0/24; 92.160.71.62/29; };
options {
// query-source port 53;
// query-source-v6 port 53;
// Put files that named is allowed to write in the data/ directory:
directory "/var/named"; // the default
dump-file "data/cache_dump.db";
statistics-file "data/named_stats.txt";
memstatistics-file "data/named_mem_stats.txt";
allow-recursion { 192.168.0.0/16; };
allow-notify { 192.168.3.54; 192.168.3.55; };
transfer-source 192.168.3.55;
forwarders {
4.4.4.4;
8.8.8.8;
};
};
zone "." {
type hint;
file "named.root";
};
zone "test" {
type slave;
masters { 192.168.3.54; };
allow-query { local; };
file "slaves/test";
};
логи на slave
Jul 3 17:50:54 test named[3267]: loading configuration from '/etc/named.conf'
Jul 3 17:50:54 test named[3267]: using default UDP/IPv4 port range: [1024, 65535]
Jul 3 17:50:54 test named[3267]: using default UDP/IPv6 port range: [1024, 65535]
Jul 3 17:50:54 test named[3267]: no IPv6 interfaces found
Jul 3 17:50:54 test named[3267]: sizing zone task pool based on 4 zones
Jul 3 17:50:54 test named[3267]: the working directory is not writable
Jul 3 17:50:54 test named[3267]: reloading configuration succeeded
Jul 3 17:50:54 test named[3267]: reloading zones succeeded
Jul 3 17:50:54 test named[3267]: all zones loaded
Jul 3 17:50:54 test named[3267]: running