[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [bind9] deux domaines



GanGan a écrit :
bonsoir les gens,

Voici mon soucis, je viens de prendre un deuxieme domaine pour faire mumuse
j'ai rajouté dans mon named.conf ceci :

zone "domain2.com" {
type master;
notify yes;
file "/etc/bind/db.domain2.com";
forwarders{};

j'ai créé le fichier db.domain2.com
comme ceci :

$ORIGIN domain2.com.
$TTL 3600
@ IN SOA srv.domain2.com. root.domain2.eu. (
2008050101 ; Serial
3600 ; Refresh (1 heure)
900 ; Retry (15 minutes)
1209600 ; Expire (2 weeks)
43200 ; Minimum cache (12 heures)
)

NS srv.domain2.com.
@ IN NS srv.domain2.com.
srv A 91.121.92.67

j'ai pas fais de zone inverse.

quand je fais un : named-checkconf

J'obtiens

/etc/bind/named.conf:68: unknown option 'zone'
/etc/bind/named.conf:73: '}' expected near end of file

une idée ?

-------------------------------------
alors la ponpon sur la garonne !
- GanGan -
Bonsoir

Il semble qu'il manque un } à la fin de la définition de votre zone après sauf erreur ça devrait rouler ;-)

Bonne soirée

Fred


Reply to: