Le 13026ième jour après Epoch, François Boisson écrivait: > Le 31 Aug 2005 02:14:38 -0700 > "rom1" <[EMAIL PROTECTED]> a écrit: > >> > Comment fait on pour connaitre l'adresse du NS faisant autorité sur >> > l'IP (juste histoire d'être un peu moins idiot)? >> >> en faisant une recherchede type SOA >> >> dig SOA ma-zone >> > > > Ben oui mais > > dig SOA www.anpe.fr
le dig est à faire sur un domaine, pas sur un host: [EMAIL PROTECTED]:~$ dig soa www.anpe.fr ; <<>> DiG 9.2.4 <<>> soa www.anpe.fr ;; global options: printcmd ;; connection timed out; no servers could be reached You have new mail in /var/mail/francois [EMAIL PROTECTED]:~$ dig anpe.fr soa ; <<>> DiG 9.2.4 <<>> anpe.fr soa ;; global options: printcmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 14260 ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 2 ;; QUESTION SECTION: ;anpe.fr. IN SOA ;; ANSWER SECTION: anpe.fr. 18782 IN SOA ns00.sitadelle.com. dns-admin.si tadelle.com. 2005080301 21600 3600 604800 3600 ... où tu vois que ns00.sitadelle.com est la machine qui fait référence (le DNS primaire) pour le domaine anpe.fr ou alors: [EMAIL PROTECTED]:~$ dig 143.124.80.in-addr.arpa soa ; <<>> DiG 9.2.4 <<>> 143.124.80.in-addr.arpa soa ;; global options: printcmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 57579 ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 13, ADDITIONAL: 0 ;; QUESTION SECTION: ;143.124.80.in-addr.arpa. IN SOA ;; ANSWER SECTION: 143.124.80.in-addr.arpa. 86400 IN SOA ns.sky.fr. postmaster.sky.fr. 2005050201 43200 3600 604800 86400 ... où tu vois que ns.sky.fr s'occupe de la résolution inverse des ip en question et enfin: [EMAIL PROTECTED]:~$ whois 80.124.143.1 [...] % Information related to '80.124.143.0 - 80.124.143.255' inetnum: 80.124.143.0 - 80.124.143.255 netname: ANPE descr: NOISY LE GRAND country: FR admin-c: DS2714-RIPE tech-c: DS2714-RIPE status: ASSIGNED PA mnt-by: CEGETEL-ENTREPRISES source: RIPE # Filtered person: SUPPORT DRT address: ANPE address: 4 RUE GALILEE address: 93138 address: NOISY LE GRAND phone: +33 1 49 31 71 89 fax-no: +33 1 49 14 18 25 e-mail: [EMAIL PROTECTED] nic-hdl: DS2714-RIPE source: RIPE # Filtered % Information related to '80.124.128.0/18AS8228' route: 80.124.128.0/18 descr: CEGETEL E. CIDR Block 3 descr: CEGETEL DT origin: AS8228 mnt-by: CEGETEL-ENTREPRISES source: RIPE # Filtered où tu vois que l'ANPE de noisy le grand a réservé l'équivalent d'une classe C auprès de Cegetel (alors que seules 3 machines semblent répondre)

