Serveur dns sous linux debian
hotistman
Messages postés
5
Date d'inscription
Statut
Membre
Dernière intervention
-
hotistman Messages postés 5 Date d'inscription Statut Membre Dernière intervention -
hotistman Messages postés 5 Date d'inscription Statut Membre Dernière intervention -
Salut voilà depuis maintenant quelques heures pour ne pas dire quelques jours :D j'essais de monter un serveur DNS sous linux debian. Seulement cela ne marche pas ................ Je comprend pas pourquoi car je fais pas mal de tuto et ma config est bonne.
Je vous montre ma config pour bind9 :
fichier named.conf :
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 "test1.com" {
type master;
file "/etc/bind/db.test1.com";
};
Fichier db.test1.com
$ttl 86400
test1.com IN SOA dns001.test1.com. administrateur.test1.com. (
2008060201;serial
3600;refresh
900;retry
1209600;expire
43200;default_ttl
)
NS dns001.test1.com.
test1.com. IN NS dns001.test1.com
test1. IN A 192.168.20.247
test1.com. IN NS dns001.test1.com
test1.com IN MX 10 mail.test.com.
et donc ensuite je redémarre mon bind9
debian:/# etc/init.d/bind9 restart
Stopping domain name service...: bind.
Starting domain name service...: bind.
debian:/#
Pour moi tout marche bien mais quand je fais ensuite un nslookup test1 192.168.20.247
cela ne marche pas :s
à savoir je le fais sous vmware.
Please HELP ME ;) :) :D
Je vous montre ma config pour bind9 :
fichier named.conf :
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 "test1.com" {
type master;
file "/etc/bind/db.test1.com";
};
Fichier db.test1.com
$ttl 86400
test1.com IN SOA dns001.test1.com. administrateur.test1.com. (
2008060201;serial
3600;refresh
900;retry
1209600;expire
43200;default_ttl
)
NS dns001.test1.com.
test1.com. IN NS dns001.test1.com
test1. IN A 192.168.20.247
test1.com. IN NS dns001.test1.com
test1.com IN MX 10 mail.test.com.
et donc ensuite je redémarre mon bind9
debian:/# etc/init.d/bind9 restart
Stopping domain name service...: bind.
Starting domain name service...: bind.
debian:/#
Pour moi tout marche bien mais quand je fais ensuite un nslookup test1 192.168.20.247
cela ne marche pas :s
à savoir je le fais sous vmware.
Please HELP ME ;) :) :D
A voir également:
- Serveur dns sous linux debian
- Changer dns - Guide
- Serveur dns gratuit - Guide
- Serveur dns orange - Accueil - Guide box et connexion Internet
- Flush dns - Guide
- Linux reader - Télécharger - Stockage