Précédent   Forum des professionnels en informatique > Webmasters - Développement Web > Serveurs (Apache, IIS,...)
Serveurs (Apache, IIS,...) Forum d'entraide sur les Serveurs : Apache, IIS, ...
Partagez cette discussion sur d'autres réseaux sociaux : Viadeo Twitter Google Facebook Digg Delicious MySpace Yahoo
Réponse Proposer ce sujet en actualité
 
Outils de la discussion
Publicité
'
Vieux 11/06/2007, 00h39   #1
Invité de passage
 
Inscription : juin 2007
Messages : 2
Détails du profil
Informations forums :
Inscription : juin 2007
Messages : 2
Points : 0
Points : 0
Par défaut 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.
frenshisme est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 12/06/2007, 08h57   #2
Membre émérite
 
Avatar de goldkey
 
Inscription : mars 2003
Messages : 795
Détails du profil
Informations personnelles :
Âge : 31

Informations forums :
Inscription : mars 2003
Messages : 795
Points : 842
Points : 842
Essaye plutot avec ca

http://www.linux-kheops.com/doc/redh...iguration.html

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.

server IN A 192.168.0.9
server1 IN A 192.168.0.8

ns IN CNAME server
www IN CNAME server
smtp IN CNAME server1
pop IN CNAME server1
goldkey est déconnecté   Envoyer un message privé Réponse avec citation 00
Réponse Proposer ce sujet en actualité
Outils de la discussion



Fuseau horaire GMT +2. Il est actuellement 14h25.


 
 
 
 
Partenaires

Hébergement Web