Прaва на файлы зон - 644(rw-r--r--) named:named
Приме конфига:
// Last update 05.11.03 by sergleo
acl "local-net" {
127.0.0.1;
192.168.1.1;
};
options {
directory "/var/named";
/*
* If there is a firewall between you and nameservers you want
* to talk to, you might need to uncomment the query-source
* directive below. Previous versions of BIND always asked
* questions using port 53, but BIND 8.1 uses an unprivileged
* port by default.
*/
query-source address * port 53;
listen-on port 53 {
127.0.0.1;
192.168.1.1;
};
auth-nxdomain yes;
forward first;
forwarders {
192.168.1.1;
212.248.0.1;
212.248.0.3;
};
allow-query { "local-net"; };
allow-transfer { any; }; // или "local-net";
transfer-format many-answers; // не обязательно
};
//
// a caching only nameserver config
//
zone "." IN {
type hint;
file "named.ca";
};
//
// Localhost Zone
//
zone "localhost" IN {
type master;
file "localhost.zone";
allow-update { none; };
};
zone "0.0.127.in-addr.arpa" IN {
type master;
file "named.local";
allow-update { none; };
};
// Zone
Твои зоны....
___________________________
by sergleo
Добавлено:
Почитай:
http://www.softerra.ru/freeos/13826/print.html Если ссылка работает .... или поищи там - Конфигур... ядра Linux
Цитата:
listen-on port 53 {
127.0.0.1;
192.168.1.1;
};
|
на строено на lo и eth0(внутренний ip) можно добавить еще и внешний ip eth1
______________
by sergleo