logo Debian Debian Debian-France Debian-Facile Debian-fr.org Forum-Debian.fr Debian ? Communautés logo inclusivité

Debian-facile

Bienvenue sur Debian-Facile, site d'aide pour les nouveaux utilisateurs de Debian.

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 → ODT PDF Export

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

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
atelier:chantier:dns-bind9-sur-wheezy [14/09/2014 08:21]
Hypathie [Côté client]
atelier:chantier:dns-bind9-sur-wheezy [14/09/2014 09:34]
Hypathie [Côté client]
Ligne 619: Ligne 619:
 echo "​nameserver 192.168.0.14"​ >> /​etc/​resolv.conf</​code>​ echo "​nameserver 192.168.0.14"​ >> /​etc/​resolv.conf</​code>​
  
 +<code root>​bash /​etc/​NetworkManager/​dispatcher.d/​99-dns</​code>​
  
 <code user>​less /​etc/​resolv.conf</​code>​ <code user>​less /​etc/​resolv.conf</​code>​
Ligne 632: Ligne 633:
  
 <code root>/​etc/​init.d/​networking start</​code>​ <code root>/​etc/​init.d/​networking start</​code>​
 +
 +  * Vérifier que le client interroge le DNS local :
 +
 +<code user>​host -a debian-serveur</​code>​
 +<​code>​
 +Trying "​debian-serveur.mondomaine.hyp"​
 +;; ->>​HEADER<<​- opcode: QUERY, status: NOERROR, id: 10787
 +;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 0
 +
 +;; QUESTION SECTION:
 +;​debian-serveur.mondomaine.hyp. IN ANY
 +
 +;; ANSWER SECTION:
 +debian-serveur.mondomaine.hyp. 604800 IN A 192.168.0.14
 +
 +;; AUTHORITY SECTION:
 +mondomaine.hyp. 604800 IN NS debian-serveur.mondomaine.hyp.
 +
 +Received 77 bytes from 192.168.0.14#​53 in 0 ms</​code>​
 +
 +  * Ou avec dig 
 +
 +<code user>dig mondomaine.hyp</​code>​
 +<​code>​
 +
 +; <<>>​ DiG 9.8.4-rpz2+rl005.12-P1 <<>>​ mondomaine.hyp
 +;; global options: +cmd
 +;; Got answer:
 +;; ->>​HEADER<<​- opcode: QUERY, status: NOERROR, id: 12579
 +;; flags: qr aa rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0
 +
 +;; QUESTION SECTION:
 +;​mondomaine.hyp. IN A
 +
 +;; AUTHORITY SECTION:
 +mondomaine.hyp. 604800 IN SOA debian-serveur.mondomaine.hyp. root.mondomaine.hyp. 2 604800 86400 2419200 604800
 +
 +;; Query time: 0 msec
 +;; SERVER: 192.168.0.14#​53(192.168.0.14)
 +;; WHEN: Sun Sep 14 09:00:08 2014
 +;; MSG SIZE  rcvd: 88</​code>​
 +
 +
 +  * Avec la réserve :
 +<code user>dig -x 192.168.0.14</​code>​
 +<​code>​
 +; <<>>​ DiG 9.8.4-rpz2+rl005.12-P1 <<>>​ -x 192.168.0.14
 +;; global options: +cmd
 +;; Got answer:
 +;; ->>​HEADER<<​- opcode: QUERY, status: NOERROR, id: 47078
 +;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 0
 +
 +;; QUESTION SECTION:
 +;​14.0.168.192.in-addr.arpa. IN PTR
 +
 +;; ANSWER SECTION:
 +14.0.168.192.in-addr.arpa. 604800 IN PTR debian-serveur.mondomaine.hyp.
 +
 +;; AUTHORITY SECTION:
 +0.168.192.in-addr.arpa. 604800 IN NS debian-serveur.
 +
 +;; Query time: 0 msec
 +;; SERVER: 192.168.0.14#​53(192.168.0.14)
 +;; WHEN: Sun Sep 14 09:03:29 2014
 +;; MSG SIZE  rcvd: 114</​code>​
 +
 +
 +Sur la commande dig : [[http://​www.system-linux.eu/​index.php?​post/​2009/​04/​23/​La-commande-dig]]
  
  
atelier/chantier/dns-bind9-sur-wheezy.txt · Dernière modification: 20/06/2020 13:59 par tuFek

Pied de page des forums

Propulsé par FluxBB