Bonjour,
J’ai installé un serveur web chez moi, sous Debian Sarge. Ensuite, j’ai voulu faire pointerun nom de domaine que j’ai acheté sur mon serveur. J’ai ajouté dans la config du NDD (chez mon registrar) mon IP (statique) comme host, puis j’ai paramétré Bind. Seulement, nomdedomaine.com marche, contrairement à nomdedomaine.com !
Voici mon /etc/bind/named.conf :
[code]include “/etc/bind/named.conf.options”;
zone “.” {
type hint;
file “/etc/bind/db.root”;
};
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 “mondomaine.com” {
type master;
file “mondomaine.com.zone”;
};[/code]
Et finalement le fichier mondomaine.com.zone :
[code]$TTL 86400
@ IN SOA mondomaine.com. martin.mondomaine.com. (
2006031412
86400
300
2592000
86400 )
mondomaine.com. IN NS ns0
mondomaine.com. IN NS ns1
ns0 IN A 123.4.5.6.789
ns1 IN A 123.4.5.6.789
martin IN A 123.4.5.6.789
test IN A 123.4.5.6.789
www IN CNAME ns0
ftp IN CNAME ns0
mondomaine.com. IN MX 10 ns0[/code]
Quelqu’un aurait-il une idée ?
Merci beaucoup d’avance !