Inst
alla
t
io
n
du DNS
//m
ettre une IP V6ifconfig eth0 add 2001:660:1:2010::1
/
64
//
install de bind9
//
tout est dans
/
etc
/
bind
/
Créa
t
io
n
zo
n
e
s
//
dans
/
var
/
cache
/
bind
/
on va créer toutes nos zones DNS.
//
Création de répertoires :
/
Pri
m
ary et
/
secondary et dans chaque
/
forward
/
reverse
//
Dans
/
pri
m
ary
/
forward
/
on crée la zone evryO1.fr à partir du fichier
/
etc
/
bind
/
db.local
//
on le
m
odifie
;;;;;;;;;;;;;;;;;;; Zone evry1.fr ;;;;;;;;;;;;;;;;;;;; Created on 09
/
03
/
2010$TTL 1d@ IN SOA ns.evry1.fr. dns
m
aster
m
ail.localhost. (2010030901 ; Serial3600 ; Refresh3600 ; Retry3600000 ; Expire604800 ; Negative Cache TTL);IN NS ns.evry1.fr.IN NS ns.evry13.fr.;;;;;;;;;;;hosts;;;;;;;;;;;;ns IN AAAA 2001:660:1:2010::1
//
dans
/
etc
/
bind
/
na
m
ed.conf.localzone "evry1.fr" {type
m
aster;file "pri
m
ary
/
forward
/
evry1.fr";}
//
ensuite on faitRndc reload
//
testdig @::1 ns.evry1.fr aaaa
//
utiliser rndc-confgenRndc-conf b 256 > t
m
p