next up previous contents
Next: Un DNS secondaire Up: Un DNS pour un Previous: Fichiers à écrire

Tester le nouveau réseau

$ nslookup 
Default Server:  machine1.domaine1
Address:  192.168.1.1

> machine1.domaine1
Server:  machine1.domaine1
Address:  192.168.1.1

Name:    machine1.domaine1
Address:  192.168.1.1

> machine2.domaine1        
Server:  machine1.domaine1
Address:  192.168.1.1

Name:    machine2.domaine1
Address:  192.168.1.2

> machine3.domaine1
Server:  machine1.domaine1
Address:  192.168.1.1

Name:    machine3.domaine1
Address:  192.168.1.3

> 192.168.1.1
Server:  machine1.domaine1
Address:  192.168.1.1

Name:    machine1.domaine1
Address:  192.168.1.1

> 192.168.1.2
Server:  machine1.domaine1
Address:  192.168.1.1

Name:    machine2.domaine1
Address:  192.168.1.2

> 192.168.1.3
Server:  machine1.domaine1
Address:  192.168.1.1

Name:    machine3.domaine1
Address:  192.168.1.3

> www.domaine1
Server:  machine1.domaine1
Address:  192.168.1.1

Name:    machine1.domaine1
Address:  192.168.1.1
Aliases:  www.domaine1

> ls -d domaine1
[machine1.domaine1]
$ORIGIN domaine1.
@                       12H IN SOA      machine1 root.machine1 (
                                        2000070306      ; serial
                                        1H              ; refresh
                                        15M             ; retry
                                        2W              ; expiry
                                        12H )           ; minimum

                        12H IN NS       machine1
                        12H IN MX       10 machine1
                        12H IN MX       20 machine1
                        12H IN TXT      "Serveur DNS local de domaine1"
                        12H IN A        192.168.1.1
machine3                12H IN HINFO    "Non definit" "Non definit"
                        12H IN A        192.168.1.3
localhost               12H IN A        127.0.0.1
mail                    12H IN CNAME    machine1
www                     12H IN CNAME    machine1
machine1                12H IN HINFO    "Intel P133+" "Linux 2.2.14-12"
                        12H IN A        192.168.1.1
machine2                12H IN HINFO    "Non definit" "Non definit"
                        12H IN A        192.168.1.2
ftp                     12H IN CNAME    machine1
@                       12H IN SOA      machine1 root.machine1 (
                                        2000070306      ; serial
                                        1H              ; refresh
                                        15M             ; retry
                                        2W              ; expiry
                                        12H )           ; minimum

>



Mathieu DECORE
2000-12-11