Précédent   Forum des professionnels en informatique > Systèmes > Linux
Linux Forum d'entraide sur le système Linux. Avant de poster -> Tutoriels Linux, F.A.Q Linux
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 30/09/2011, 10h04   #1
Invité de passage
 
Homme
Administrateur systèmes et réseaux
Inscription : septembre 2011
Messages : 3
Détails du profil
Informations personnelles :
Sexe : Homme
Localisation : France

Informations professionnelles :
Activité : Administrateur systèmes et réseaux
Secteur : High Tech - Produits et services télécom et Internet

Informations forums :
Inscription : septembre 2011
Messages : 3
Points : 1
Points : 1
Par défaut Configuration DNS Primaire et un DNS Secondaire

Bonjour à tous,

Voila mon problème.

je donne ma config

j'ai installé le service Bind9 sur le dns primaire sur un serveur, configuré
/etc/hostname : nommachine.toto.com

dans

/etc/host.conf :
order hosts, bind
multi on

/etc/hosts :
127.0.0.1 localhost.localdomain localhost
10.0.10.40 nommachine.toto.com nommachine

/etc/resolv.conf:
domain toto.com
search toto.com
nameserver 10.0.10.40

db.toto.com:
;
; BIND data file for eth0 interface
;
$TTL 604800
@ IN SOA nommachine.toto.com. root.toto.com. (
2 ; Serial
604800 ; Refresh
86400 ; Retry
2419200 ; Expire
604800 ) ; Negative Cache TTL
;
@ IN NS nommachine.toto.com.

nommachine IN A 10.0.10.40

db.toto.com.inv :
;
; BIND reverse data file for eth0 interface
;
$TTL 604800
@ IN SOA nommachine.toto.com. root.toto.com. (
1 ; Serial
604800 ; Refresh
86400 ; Retry
2419200 ; Expire
604800 ) ; Negative Cache TTL
;
@ IN NS nommachine.
NS ServeurEsclave1.mondomaine.com. ;Nom du serveur esclave N°1
40 IN PTR nommachine.toto.com.


named.conf.local:
zone "toto.com" {
type master;
notify yes;
file "/etc/bind/db.toto.com";
forwarders{};
};

zone "10.0.10.in-addr.arpa" {
type master;
notify yes;
file "/etc/bind/db.toto.com.inv";
forwarders{};
};

/etc/bind/named.conf.options

allow-transfer { 10.0.10.41; }; machine secondaire
allow-notify { 10.0.10.41; }; machine secondaire

j'ai lancé bind et c'est okay.

sur le secondaire

resolv.conf
domain toto.com
nameserver 10.0.10.41
nameserver 10.0.10.40

et j'ai arretteé, car quand je fait les modif dans named.conf.local.. etc le serveur bind ne ce relance pas sur le secondaire

Avez vous une idées sur quoi je peux m'orienter

merci a tous.
balih44 est déconnecté   Envoyer un message privé Réponse avec citation 00
Réponse Proposer ce sujet en actualité Cette discussion est résolue.
Outils de la discussion



Fuseau horaire GMT +2. Il est actuellement 21h03.


 
 
 
 
Partenaires

Hébergement Web