Strona 1 z 1

bind9 - dlaczego ta konfiguracja nie działa? DNS

: 10 sierpnia 2009, 10:10
autor: hphubert
Witam.

Gdy próbuję wystartować bind9 to dostaję błąd.

Mój named.conf to:

Kod: Zaznacz cały

// 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

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";
};


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

zone "hpserv.one.pl" {
	type master;
	file "hpserv.one.pl";
	allow-transfer {
		193.111.27.194; 194.145.96.21; 
};

zone "hp.mysite.pl" {
	type master;
	file "hp.mysite.pl";
	allow-transfer {
		193.111.27.194; 194.145.96.21; 
};
Zaś hp.mysite.pl to:

Kod: Zaznacz cały

hp.mysite.pl.	IN	NS	fns1.sgh.waw.pl.
hp.mysite.pl.	IN	NS	fns2.sgh.waw.pl.
A hpserv.one.pl to:

Kod: Zaznacz cały

hp.mysite.pl.	IN	NS	fns1.sgh.waw.pl.
hp.mysite.pl.	IN	NS	fns2.sgh.waw.pl.
Proszę o pomoc w podpięciu tych domen, ponieważ robię to pierwszy raz i jestem laikiem.

Pozdrawiam.

: 11 sierpnia 2009, 15:46
autor: sigo
Coś jeszcze chcesz dodać?

: 14 sierpnia 2009, 18:09
autor: Cyphermen
Znaczy to, że te pliki mają w sobie tylko tyle co napisałeś?

Proponuje jakiś poradnik w internecie znaleźć, tam dokładnie masz opisane jak co zrobić.

Pozdrawiam.