Я установил пакеты bind и все нужные к нему пакеты.
В файле конфигурации: /var/lib/bind/etc/options.conf
Вот что.
options {
version "unknown";
directory "/zone";
pid-file "";
dump-file "/var/run/named_dump.db";
statistics-file "/var/run/named.stats";
recursing-file "/var/run/recursing";
/*
* Oftenly used directives are listed below.
*/
/*
* For the localhost configuration, uncomment the listen-on directive
* below.
*/
listen-on { 127.0.0.1; 192.168.0.52 };
/*
* If the forward directive is set to "only", the server will only
* query the forwarders.
*/
//forward only;
forwarders {194.67.1.154;217.118.66.243};
/*
* Specifies which hosts are allowed to ask ordinary questions.
*/
//allow-query { localnets; };
/*
* Specifies which hosts are allowed to make recursive queries
* through this server. If not specified, the default is to allow
* recursive queries from all hosts. Note that disallowing recursive
* queries for a host does not prevent the host from retrieving data
* that is already in the server's cache.
*/
//allow-recursion { localnets; };
/*
* Sets the maximum time for which the server will cache ordinary
* (positive) answers. The default is one week (7 days).
*/
//max-cache-ttl 86400;
/*
* The server will scan the network interface list every
* interface-interval minutes. The default is 60 minutes.
* If set to 0, interface scanning will only occur when the
* configuration file is loaded. After the scan, listeners will
* be started on any new interfaces (provided they are allowed by
* the listen-on configuration). Listeners on interfaces that
* have gone away will be cleaned up.
*/
//interface-interval 0;
};
При попытке запустить bind пишет: Starting named service [FAILED]
Что у меня неправильно с конфигом?
192.168.0.52 - это IP моего сервера, который я и настраиваю.