Probleme serveur DNS Debian
	
	
		Bonjour, 
Voila je vous explique mon problème. 
Tout d'abord je précise que je suis débutant en linux et en réseau donc je vous demanderai de me pardonner si je dis des conn***** . 
Voila donc mon but est de faire un serveur DNS, ftp, web, mail en LAN.
 
Dans l ordre des chose .. j'install debian 
- configuration ip 
- telechargement des paquets
- ...
et voila la premiere question stupide. 
a l installation on ma demander un domaine. moi j'ai mis workgroup vu que tout les pc ici sont en workgroup ... est ce que c est bon ? 
je continue j instal l editeur de texte VIM
puis SSH
puis Bind9
la ca pose probleme au nivau de la configuration 
je dois declarer une zone.  dans le fichier /etc/bind/named.conf
==> vi /etc/bind/named.conf
la j obtiens ca:
	Citation:
	
		
		
			// 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";
};
zone "debian.lan" {
        type master;
        file "etc/bind/db.debian.lan";
        forwarders{};
};
// zone "com" { type delegation-only; };
// zone "net" { type delegation-only; };
// From the release notes:
//  Because many of our users are uncomfortable receiving undelegated answers
//  from root or top level domains, other than a few for whom that behaviour
//  has been trusted and expected for quite some length of time, we have now
//  introduced the "root-delegations-only" feature which applies delegation-only
//  logic to all top level domains, and to the root domain.  An exception list
//  should be specified, including "MUSEUM" and "DE", and any other top level
//  domains from whom undelegated responses are expected and trusted.
// root-delegation-only exclude { "DE"; "MUSEUM"; };
			
		
	
 Comme vous pouvez le voir j ai ici declarer une zone ... 
	Citation:
	
		
		
			zone "debian.lan" {
        type master;
        file "etc/bind/db.debian.lan";
        forwarders{};
			
		
	
 le nom de mon serveur etant debian ... (test) 
ensuite je dois creer un fichier pour definir une zone:
vi /etc/bind/db.debian.lan 
dans lequel je rajoute:
	Citation:
	
		
		
			$TTL 604800
@     IN    SOA   debian.lan. webmaster.debian.lan. (
               20070409      ; Serial
                  604800           ; Refresh
                  86400      ; Retry
                  2419200          ; Expire
                  604800  )  ; Minimum
@     IN    NS          ns.debian.lan.
@     IN    MX    10    ns.debian.lan.
@     A                 192.168.1.200
ns    CNAME @
www   CNAME @
ftp   CNAME   @
smtp  CNAME   @
pop   CNAME       @
imap  CNAME   @
			
		
	
 apres ... resolution inverse. donc creation d un autre fichier 
==> vi /etc/bind/ns.debian.lan
dans lequel j insere:
	Citation:
	
		
		
			$TTL  604800
@       IN      SOA     ns.debian.lan. admin.debian.lan. (
                        20070409
                  604800
                  86400
                  2419200
                  604800 )
            NS    ns.debian.lan.
@           A     192.168.1.200
200   PTR   debian.lan
200   PTR   francois.lan
200   PTR   papa.lan
			
		
	
 apresz toutes ces manipulations ... un pti teste 
==> 
	Citation:
	
		
		
			/etc/init.d/bind9 reload
			
		
	
 et voila le resulta:
	Citation:
	
		
		
			Reloading domain name service...: bindrndc: 'reload' failed: failure
 failed!
			
		
	
 voila mon probleme ... si quelqu un pouvait m aider ... ce serait le plus gentils des humain... 
Merci d avance. 
J espèere avoir ete correctement explicite.