import of olds chapters
This commit is contained in:
87
chap/DNS.tex
Normal file
87
chap/DNS.tex
Normal file
@@ -0,0 +1,87 @@
|
||||
\chapter{Domain Name Service}
|
||||
\label{DNS}
|
||||
|
||||
\section{host}
|
||||
\index{host}
|
||||
|
||||
C'est vraiment la commande de base pour tout ce qui touche à la
|
||||
résolution de nom. Elle propose les premières options de base,
|
||||
avec une syntaxe facile à retenir. Elle existe, sous des formes
|
||||
légèrement déviantes, dans une grande partie des
|
||||
OS\footnote{même dans le sale, c'est dire.} existants de nos jours.
|
||||
|
||||
|
||||
\begin{verbatim}
|
||||
tth@plop:~ $ host sigfood.dinorama.fr
|
||||
sigfood.dinorama.fr has address 91.121.221.123
|
||||
tth@plop:~ $ host -t mx dinorama.fr
|
||||
dinorama.fr mail is handled by 20 mx1.smeuh.org.
|
||||
tth@plop:~ $
|
||||
\end{verbatim}
|
||||
|
||||
Ces deux exemples sont encourageants. Est-il possible d'aller
|
||||
plus loin ?
|
||||
|
||||
% ------------------------------------------------------------
|
||||
|
||||
\section {nslookup}
|
||||
\index{nslookup}
|
||||
|
||||
\begin{quote}
|
||||
Nslookup is a program to query Internet domain name
|
||||
servers. Nslookup has two modes: interactive and
|
||||
non-interactive. Interactive mode allows the user to query
|
||||
name servers for information about various hosts and domains
|
||||
or to print a list of hosts in a domain. Non-interactive mode
|
||||
is used to print just the name and requested information for
|
||||
a host or domain. »
|
||||
\end{quote}
|
||||
|
||||
% ------------------------------------------------------------
|
||||
|
||||
\section{dig}
|
||||
\index{dig}
|
||||
|
||||
Dig (\textit{domain information groper}) est un outil d'interrogation
|
||||
des serveurs DNS. Par défaut, il questionne les serveurs
|
||||
listés dans \texttt{/etc/resolv.conf}.
|
||||
|
||||
Pour résoudre récursivement un nom de domaine à partir de la racine :
|
||||
\$ dig +trace <nom.de.domaine>
|
||||
|
||||
Pour le reverse d'une adresse IP :
|
||||
\$ dig +trace -x <adresse.ip>
|
||||
|
||||
% ------------------------------------------------------------
|
||||
\section{delv}
|
||||
\index{delv}
|
||||
|
||||
Nouvel outil en rapport avec DNSSEC\index{DNSSEC}.
|
||||
% XXX
|
||||
\index{XXX}
|
||||
% http://www.bortzmeyer.org/delv.html
|
||||
% XXX
|
||||
|
||||
% ------------------------------------------------------------
|
||||
|
||||
\section{checkresolv}
|
||||
|
||||
|
||||
Outil très basique conçu et bricolé par Tonton~Th au siècle
|
||||
dernier lors d'un séjour à Frontignan-plage.
|
||||
|
||||
% ------------------------------------------------------------
|
||||
|
||||
\section{dnsmasq}
|
||||
\index{dnsmasq}
|
||||
|
||||
\begin{quote}
|
||||
|
||||
dnsmasq is a lightweight DNS, TFTP and DHCP server. It is intended to
|
||||
provide coupled DNS and DHCP service to a LAN.
|
||||
\end{quote}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user