Merci,
ton exemple m'a beaucoup aidé à mieux comprendre comment structurer un
serveur de noms enfin un petit peu mieux.
Du coup j'ai revu ma copie pour créer le domaine de mon réseau local
yoyo.lan
et la deuxième zone site.local pour répondre au développement que j'ai a
faire.
yoyo.lan marche trés bien, c'est pratiquement un copier-coller de ton
exemple.
par contre la zone site.local reste inaccessible et ça me laisse perplexe.
resolv.conf:
nameserver 127.0.0.1
search yoyo.lan
----------------------
named.conf.local:
zone "yoyo.lan" {
type master;
file "/etc/bind/db.yoyo.lan";
};
zone "site.local" {
type master;
file "/etc/bind/db.site.local";
};
----------------------
db.yoyo.lan:
$TTL 604800
@ IN SOA ns1.yoyo.lan. hostmaster.yoyo.lan. (
2007083003 ; Serial
604800 ; Refresh
86400 ; Retry
2419200 ; Expire
604800 ) ; Negative Cache TTL
;
IN NS ns1.yoyo.lan.
;
IN MX 10 mail.yoyo.lan.
IN A 10.10.10.3
ns1 IN A 10.10.10.3
monPoste IN A 10.10.10.3
;;
-----------------------
version1 de db.site.local:
$TTL 604800
@ IN SOA ns1.site.local. hostmaster.site.local. (
200708301119 ; Serial
604800 ; Refresh
86400 ; Retry
2419200 ; Expire
604800 ) ; Negative Cache TTL
;
IN NS ns1.site.local.
;
; IN MX 10 mail.site.local.
IN A 10.10.10.3
ns1 IN A 10.10.10.3
toto IN A 10.10.10.3
;
-----------------------
version2 de db.site.local:
$TTL 604800
@ IN SOA site.local. hostmaster.yoyo.lan (
2007083020 ; Serial
604800 ; Refresh
86400 ; Retry
2419200 ; Expire
604800 ) ; Negative Cache TTL
;
;
@ IN A 10.10.10.3
* IN A 10.10.10.3
;
----------------------------
j'ai essayé de multiples combinaisons dans db.site.local mais rien à
faire ping site.local répond unknown host.
Il y a pas d'interdiction à ce que deux zones pointent vers la même ip ??
Lionel.
Hugues LARRIVE a écrit :
..........
>.........
Voilà, après quand tu fais une modification, tu incrémentes le serial de
1 si ce n'est pas la première de la journée et tu recharges bind
/etc/init.d/bind9 reload.
firefox ne trouve rien non plus, qu'est ce j'aurais pas encore compris?
à l'avance merci,
Lionel.
--
Lisez la FAQ de la liste avant de poser une question :
http://wiki.debian.net/?DebianFrench
Vous pouvez aussi ajouter le mot ``spam'' dans vos champs "From" et
"Reply-To:"
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]