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 | Révision précédente Prochaine révision Les deux révisions suivantes | ||
utilisateurs:hypathie:tutos:dns-bind [31/08/2014 16:30] Hypathie [Générer une clé d'authentification avec l'utilitaire rndc] |
utilisateurs:hypathie:tutos:dns-bind [31/08/2014 17:02] Hypathie [Côté client] |
||
---|---|---|---|
Ligne 196: | Ligne 196: | ||
<code root>cp /etc/NetworkManager/NetworkManager.conf /etc/NetworkManager/NetworkManager.conf.OLD</code> | <code root>cp /etc/NetworkManager/NetworkManager.conf /etc/NetworkManager/NetworkManager.conf.OLD</code> | ||
- | *Désactiver networkmanager : | + | ===Désactiver networkmanager === |
<code root>vim /etc/NetworkManager/NetworkManager.conf</code> | <code root>vim /etc/NetworkManager/NetworkManager.conf</code> | ||
<code> | <code> | ||
Ligne 521: | Ligne 521: | ||
* Éditer /etc/bind/named.conf: | * Éditer /etc/bind/named.conf: | ||
<code root>vim /etc/bind/named.conf</code> | <code root>vim /etc/bind/named.conf</code> | ||
- | <code root>include "/etc/bind/named.conf.options"; | + | <code>include "/etc/bind/named.conf.options"; |
include "/etc/bind/named.conf.local"; | include "/etc/bind/named.conf.local"; | ||
//include "/etc/bind/named.conf.default-zones"; | //include "/etc/bind/named.conf.default-zones"; | ||
Ligne 538: | Ligne 538: | ||
* Éditer /etc/bind/rndc.key : | * Éditer /etc/bind/rndc.key : | ||
<code root>vim /etc/bind/rndc.key</code> | <code root>vim /etc/bind/rndc.key</code> | ||
- | <code root># Start of rndc.conf | + | <code># Start of rndc.conf |
key "rndc-key" { | key "rndc-key" { | ||
algorithm hmac-md5; | algorithm hmac-md5; | ||
Ligne 569: | Ligne 569: | ||
<code root>vim /etc/bind/named.conf.local</code> | <code root>vim /etc/bind/named.conf.local</code> | ||
- | <code root>// | + | <code>// |
// Do any local configuration here | // Do any local configuration here | ||
// | // | ||
Ligne 591: | Ligne 591: | ||
<code root>/etc/init.d/bind9 restart</code> | <code root>/etc/init.d/bind9 restart</code> | ||
- | <code root>[....] Stopping domain name service...: bind9rndc: connection to remote host closed | + | <code>[....] Stopping domain name service...: bind9rndc: connection to remote host closed |
This may indicate that | This may indicate that | ||
* the remote server is using an older version of the command protocol, | * the remote server is using an older version of the command protocol, | ||
Ligne 602: | Ligne 602: | ||
+ | Une deuxième fois : | ||
+ | <code root>/etc/init.d/bind9 restart</code> | ||
+ | <code>[....] Stopping domain name service...: bind9waiting for pid 5441 to die | ||
+ | . ok | ||
+ | [ ok ] Starting domain name service...: bind9.</code> | ||
+ | =====Côté client ===== | ||
+ | Se débarrasser [[utilisateurs:hypathie:tutos:dns-bind?&#desactiver-networkmanager|de networkmanager]] avant tout.\\ | ||
+ | |||
+ | *Il n'y a qu'un fichier à éditer "/etc/resolv.conf": | ||
+ | |||
+ | <code root>/vim /etc/resolv.conf</code> | ||
+ | |||
+ | <code> | ||
+ | domaine mondomaine.hyp | ||
+ | search mondomaine.hyp | ||
+ | nameserver 192.168.0.14 | ||
+ | </code> | ||
+ | |||
+ | * Puis recharger la configuration réseau : | ||
+ | <code root>/etc/init.d/networking start</code> | ||