Ceci est une ancienne révision du document !
Cette partie va nous servir à résoudre les noms de domaine, mais aussi à résoudre chaque nom de machine si le serveur dhcp a pu l'obtenir.
+-----------+ INTERNET ---------- (DHCP) eth0 -| |- eth1 (10.9.0.0/22) --- Réseau local pour les installs | SERVEUR | | |- eth2 (10.9.4.0/22) --- Réseau local pour jeux / demos +-----------+
Générez votre clée rndc
rndc-confgen -a -c /etc/bind/rndc.key
Ajoutez les lignes suviantes à votre configuration /etc/bind/named.conf
include "/etc/bind/rndc.key";
Zone locales
/etc/bind/named.conf.local
zone "0.9.10.in-addr.arpa" { type master; file "/etc/bind/10.9.0.rev"; allow-update { key rndc-key; }; }; zone "lq" { type master; file "/etc/bind/lq.hosts"; allow-update { key rndc-key; }; };
/etc/bind/10.9.0.rev
$ORIGIN . $TTL 38400 ; 10 hours 40 minutes 0.9.10.in-addr.arpa IN SOA pizza.local. root.localhost. ( 1270388228 ; serial 10800 ; refresh (3 hours) 3600 ; retry (1 hour) 604800 ; expire (1 week) 38400 ; minimum (10 hours 40 minutes) ) NS pizza.local. $ORIGIN 0.9.10.in-addr.arpa.
/etc/bind/lq.hosts
$ORIGIN . $TTL 38400 ; 10 hours 40 minutes lq IN SOA pizza.lq. root.localhost. ( 1270462992 ; serial 10800 ; refresh (3 hours) 3600 ; retry (1 hour) 604800 ; expire (1 week) 38400 ; minimum (10 hours 40 minutes) ) NS pizza.lq. $ORIGIN lq.