Vous n'êtes pas identifié(e).
L'icône rouge permet de télécharger chaque page du wiki visitée au format
PDF et la grise au format ODT →
Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentes Révision précédente | Prochaine révision Les deux révisions suivantes | ||
atelier:chantier:dns-bind9-sur-wheezy [01/09/2014 10:25] Hypathie [Configurer un server DNS Maître en local sous wheezy] |
atelier:chantier:dns-bind9-sur-wheezy [01/09/2014 10:40] Hypathie [Générer une clé d'authentification avec l'utilitaire rndc] |
||
---|---|---|---|
Ligne 524: | Ligne 524: | ||
<code root>rndc-confgen >/etc/bind/rndc.key</code> | <code root>rndc-confgen >/etc/bind/rndc.key</code> | ||
- | * Ajouter la nouvelle clé à la fin de /etc/bind/named.conf : | + | * Indiquer le fichier rndc.key à la fin de /etc/bind/named.conf : |
- | <code root>tail /etc/bind/rndc.key >> named.conf</code> | + | <code root>echo 'include "/etc/bind/rndc.key";' >> /etc/bind/named.conf</code> |
- | * Éditer /etc/bind/named.conf: | + | * Éditer /etc/bind/rndc.key pour commenter toute la fin à partir de ''options {'' : |
- | <code root>vim /etc/bind/named.conf</code> | + | |
- | <code>include "/etc/bind/named.conf.options"; | + | |
- | include "/etc/bind/named.conf.local"; | + | |
- | //include "/etc/bind/named.conf.default-zones"; | + | |
- | key "rndc-key" { | + | |
- | algorithm hmac-md5; | + | |
- | secret "xxxxxxxxxxxx"; | + | |
- | }; | + | |
- | + | ||
- | controls { | + | |
- | inet 127.0.0.1 port 953 | + | |
- | allow { 127.0.0.1; } keys { "rndc-key"; }; | + | |
- | }; | + | |
- | # End of named.conf | + | |
- | </code> | + | |
- | + | ||
- | * Éditer /etc/bind/rndc.key : | + | |
<code root>vim /etc/bind/rndc.key</code> | <code root>vim /etc/bind/rndc.key</code> | ||
<code># Start of rndc.conf | <code># Start of rndc.conf |