bind9 - dlaczego ta konfiguracja nie dzia

Masz problemy z siecią bądź internetem? Zapytaj tu
hphubert
Posty: 13
Rejestracja: 18 czerwca 2009, 07:40

bind9 - dlaczego ta konfiguracja nie działa? DNS

Post 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.
sigo
Junior Member
Posty: 501
Rejestracja: 21 marca 2009, 19:12

Post autor: sigo »

Coś jeszcze chcesz dodać?
Cyphermen
Beginner
Posty: 426
Rejestracja: 24 maja 2009, 10:56
Lokalizacja: cze-wa

Post 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.
ODPOWIEDZ