3.3 Serveur de noms

transformation $IP <-> hostname$
fichier local $/etc/host$
[buffat@ufrmeca Cours]$ cat /etc/hosts | more
127.0.0.1       localhost
134.214.94.123  alien.univ-lyon1.fr     alien
134.214.93.120  ufrmeca.univ-lyon1.fr   ufrmeca
# UCB
#134.214.92.151 biomeca
134.214.92.164  mecaflu4.univ-lyon1.fr  mecaflu4
134.214.94.124  mecapar.univ-lyon1.fr   mecapar
134.214.92.100  secret-meca.univ-lyon1.fr       secret-meca

serveur de noms

[buffat@ufrmeca Cours]$ cat /etc/resolv.conf
search univ-lyon1.fr
nameserver 134.214.100.6
nameserver 134.214.100.245
nameserver 156.18.22.3
resolution des noms
[buffat@ufrmeca Cours]$ nslookup
Default Server:  cismsun.univ-lyon1.fr
Address:  134.214.100.6
 
> athena.mecaflu.ec-lyon.fr
Server:  cismsun.univ-lyon1.fr
Address:  134.214.100.6
 
Non-authoritative answer:
Name:    athena.mecaflu.ec-lyon.fr
Address:  156.18.40.105




Pr. Marc BUFFAT
marc.buffat@univ-lyon1.fr
2007-02-08