Проблема с bind

ХЗ
На сайте с 31.08.2008
Offline
155
860

Здравствуйте, подскажите пожалуйста как запустить днс сервер. при команде /etc/init.d/bind9 start выдает: Starting domain name service...: bind9 failed!, в syslog пишет:

named[22603]: starting BIND 9.5.1-P3 -u bind

named[22603]: isc_time_now() failed: out of range

named[22603]: exiting (due to early fatal error)

Check BIND Config

The following errors were found in the BIND configuration file /etc/bind/named.conf or referenced zone files ..

* zone.c:577: fatal error: RUNTIME_CHECK(isc_time_now((&now)) == 0) failed

Raistlin
На сайте с 01.02.2010
Offline
247
#1

Х.З., named.conf покажите.

HostAce - Асы в своем деле (http://hostace.ru)
ХЗ
На сайте с 31.08.2008
Offline
155
#2
Raistlin:
Х.З., named.conf покажите.

// This is the primary configuration file for the BIND DNS server named.

//

// Please read /usr/share/doc/bind9/README.Debian.gz for information on the

// structure of BIND configuration files in Debian, *BEFORE* you customize

// this configuration file.

//

// If you are just adding zones, please do that in /etc/bind/named.conf.local

include "/etc/bind/named.conf.options";

// prime the server with knowledge of the root servers

zone "." {

type hint;

file "/etc/bind/db.root";

};

// be authoritative for the localhost forward and reverse zones, and for

// broadcast zones as per RFC 1912

include "/etc/bind/named.conf.local";

дальше пошли зоны с доменами- сайтами

вот этого в нем нет:

zone "localhost" {
type master;
file "/etc/bind/db.local";
};

zone "127.in-addr.arpa" {
type master;
file "/etc/bind/db.127";
};

zone "0.in-addr.arpa" {
type master;
file "/etc/bind/db.0";
};

zone "255.in-addr.arpa" {
type master;
file "/etc/bind/db.255";
};

стоит панель ispmgr она лежит на данный момент

время в логах выдает как 2 сентября, может изза этого?

Х.З. добавил 12.03.2011 в 13:39

Всем откликнувшимся спасибо, оказывается надо было время синхронизировать и все заработало.

Авторизуйтесь или зарегистрируйтесь, чтобы оставить комментарий