Pages : 1
#1 Le 04/10/2007, à 12:48
- worker
Problème avec bind9
Bonjour à tous,
J'ai besoin d'aide pour faire marcher mon domaine local.Le but est de mettre en place le dns pour faire tourn
notre serveur de messagerie interne.
voici l'erreur que me ramène la vérification de ma résolution directe.
db.sunu.com.local:1: unknown option '$TTL'
db.sunu.com.local:14: unexpected token near end of file
voici ce que j'ai fait après avoir renseigné les fichiers de configuration:
root@lapaix:/etc/bind# /etc/init.d/bind9 restart
* Stopping domain name service... bind [ OK ]
* Starting domain name service... bind [ OK ]
root@lapaix:/etc/bind# named-checkzone sunu.com.local ./db.sunu.com.local
zone sunu.com.local/IN: loaded serial 2007100401
OK
root@lapaix:/etc/bind# named-checkconf
root@lapaix:/etc/bind#
root@lapaix:/etc/bind# named-checkconf db.sunu.com.local
db.sunu.com.local:1: unknown option '$TTL'
db.sunu.com.local:14: unexpected token near end of file
voici ma configuration:
le named.conf
zone "sunu.com.local"
{
type master;
file "/etc/bind/db.sunu.com.local";
};
zone "10.2.120.in-addr.arpa"
{
type master;
file "/etc/bind/db.120.2.10";
};
la résolution directe:
$TTL 604800
@ IN SOA lapaix.sunu.com.local. master.sunu.com.local. (
2007100401
604800
86400
2419200
604800 )
@ IN NS lapaix.sunu.com.local.
@ IN MX 10 lapaix.sunu.com.local.
lapaix IN A 120.2.10.31
sunu-dev IN A 120.2.10.9
31 IN PTR lapaix.sunu.com.local.
9 IN PTR sunu-dev.sunu.com.local.
~
merci d'avance!
Hors ligne
#2 Le 04/10/2007, à 13:37
- Uggy
Re : Problème avec bind9
C'est normal le "~" a la fin du fichier ?
Hors ligne
Pages : 1