• [^] # Re: probablement que oui

    Posté par (site web personnel) . En réponse au message dig option +trace. Évalué à 1. Dernière modification le 01 septembre 2015 à 11:13.

    Autre test

     dig monserveur.example.com
     ; <<>> DiG 9.10.2-P3-RedHat-9.10.2-4.P3.fc22 <<>> monserveur.example.com
     ;; global options: +cmd
     ;; Got answer:
     ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 60440
     ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 3, ADDITIONAL: 3
     ;; OPT PSEUDOSECTION:
     ; EDNS: version: 0, flags:; udp: 4096
     ;; QUESTION SECTION:
     ;monserveur.example.com. IN A
     ;; ANSWER SECTION:
     monserveur.example.com. 86400 IN A 192.168.xxx.01
     ;; AUTHORITY SECTION:
     example.com. 86400 IN NS ns2.example.com.
     example.com. 86400 IN NS gw.example.com.
     example.com. 86400 IN NS ns1.example.com.
     ;; ADDITIONAL SECTION:
     ns1.example.com. 86400 IN A 192.168.xxx.02
     gw.example.com. 86400 IN A 192.168.xxx.03
     ;; Query time: 0 msec
     ;; SERVER: 192.168.5.31#53(192.168.5.31)
     ;; WHEN: mar. sept. 01 10:38:01 CEST 2015
     ;; MSG SIZE rcvd: 154
     dig monserveur
     ; <<>> DiG 9.10.2-P3-RedHat-9.10.2-4.P3.fc22 <<>> monserveur
     ;; global options: +cmd
     ;; Got answer:
     ;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 35917
     ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 1
     ;; OPT PSEUDOSECTION:
     ; EDNS: version: 0, flags:; udp: 4096
     ;; QUESTION SECTION:
     ;monserveur. IN A
     ;; AUTHORITY SECTION:
     . 479 IN SOA a.root-servers.net. nstld.verisign-grs.com. 2015083101 1800 900 604800 86400
     ;; Query time: 0 msec
     ;; SERVER: 192.168.5.31#53(192.168.5.31)
     ;; WHEN: mar. sept. 01 10:42:22 CEST 2015
     ;; MSG SIZE rcvd: 111

    Dans le deuxième cas la résolution ne marche pas car pas de domaine indiqué.

    Born to Kill EndUser !