bonjour à tous.
J'ai actuelement un serveur dédié chez ovh et tout fonctionne las bas ^^
j'ai monter chez moi , un pc avec une distrib débian 6 afin de faire mes test sans risque.
l'ip de ce pc est 192.168.1.142.
j'ai fais toutes la configuration apache, mysql .. tout fonctionne.
j'ai même mis en place un serveur samba, et j'ai créer et activer un fichier site dans /etc/apache2/sites-available .. tout fonctionne quand je tape le nom dupc dans l'explorateur.
Le problème c'est bind :
j’ai suivi scrupuleusement les tutoriels pour avoir un nom de domaine “ factice” sur mon réseau local personnel.
malheuresement, rien n’y fait : malgré les test avec la commande nslookup qui reussicent mon domaine ne marche pas ( je le tape dans l’explorateur mais j’arrive sur une page : Adresse introuvable ....
j’èspere ne pas vous emmbéter, mais j’ai fais un récapitulatif de ma configuration :
contenu de /etc/resolv.conf nameserver 192.168.1.142
domain bureau.local
contenu de /etc/bind/named.conf.local //
// Do any local configuration here
//
// Consider adding the 1918 zones here, if they are not used in your
// organization
//include "/etc/bind/zones.rfc1918";
zone "bureau.local" {
type master;
file "/etc/bind/db.bureau.local";
};
zone "1.168.192.in-addr.arpa" {
type master;
file "/etc/bind/db.1.168.192";
};
contenu de /etc/bind/db.bureau.local $ORIGIN bureau.local.
$TTL 604800
@ IN SOA wordpress.bureau.local. blots.free.fr. (
4 ; Serial
604800 ; Refresh
86400 ; Retry
2419200 ; Expire
604800 ) ; Negative Cache TTL
;
@ IN NS wordpress.bureau.local.
;
@ IN MX 10 mail.bureau.local.
;
dns IN A 192.168.1.142
wordpress IN A 192.168.1.142
index IN A 192.168.1.142
mail IN A 192.168.1.142
contenu de /etc/bind/db.1.168.192 $ORIGIN 1.168.192.in-addr.arpa.
$TTL 604800
@ IN SOA wordpress.bureau.local. blots.free.fr. (
3 ; Serial
604800 ; Refresh
86400 ; Retry
2419200 ; Expire
604800 ) ; Negative Cache TTL
;
@ IN NS wordpress.bureau.local.
;
@ IN MX 10 mail.bureau.local.
;
142 IN PTR dns.bureau.local.
142 IN PTR wordpress.bureau.local.
142 IN PTR index.bureau.local.
142 IN PTR mail.bureau.local.
contenu de /etc/bind/named.conf.options ptions {
directory "/var/cache/bind";
// If there is a firewall between you and nameservers you want
// to talk to, you may need to fix the firewall to allow multiple
// ports to talk. See
http://www.kb.cert.org/vuls/id/800113 // If your ISP provided one or more IP addresses for stable
// nameservers, you probably want to use them as forwarders.
// Uncomment the following block, and insert the addresses replacing
// the all-0's placeholder.
// forwarders {
// 0.0.0.0;
// };
auth-nxdomain no; # conform to RFC1035
listen-on-v6 { any; };
};
tous mes services sont bien redémarrer avec :
/etc/init.d/bind restart
je devrai arriver sur ma page par défaut de apache non ?
si vous pouviez m’éclairer car malgré la lecture de plusieurs tutoriel qui se ressemble tous, je n’arrive toujours pas à faire fonctionner ce bind.
Dernière modification par hallowman (09-01-2013 13:02:17)