DIG: Zoneneinstellungen eines Nameservers lesen

dig @ns1.hans.hosteurope.de thueringen1.de Hier wird der Server ns1 nach der Zone thueringen1 gefragt. „@“ nicht vergessen ! dig @ns1.hans.hosteurope.de thueringen1.de ;; QUESTION SECTION: ;thueringen1.de.                        IN      A ;; ANSWER SECTION: thueringen1.de.         86400   IN      A       87.79.3.172 ;; AUTHORITY SECTION: thueringen1.de.         259200  IN      NS      ns1.hans.hosteurope.de. thueringen1.de.         259200  IN      NS      ns2.hans.hosteurope.de. dig @ns1.hans.hosteurope.de m.thueringen1.de ; <<>> DiG 9.3.0 <<>> @ns1.hans.hosteurope.de m.thueringen1.de ;; global options:  printcmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 624 ;; flags: qr aa rd; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 0 ;; QUESTION SECTION: ;m.thueringen1.de.              IN      A ;; ANSWER SECTION: m.thueringen1.de.       86400   IN      CNAME   thueringen.sevenval-fit.com. ;; AUTHORITY SECTION: thueringen1.de.         259200  IN      NS      ns1.hans.hosteurope.de. thueringen1.de.         259200  IN      NS      ns2.hans.hosteurope.de. ;; Query time: 460 msec ;; SERVER: 217.115.143.140#53(ns1.hans.hosteurope.de) …

weiterlesen ….

DIG Syntax und Beispiele

Eine Alternative zum NSLOOKUP stellt das Programm DIG.   c:\002_Tools\DIG>dig ta-druckhaus.de mx ; <<>> DiG 9.3.0 <<>> ta-druckhaus.de mx ;; global options:  printcmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 779 ;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 2 ;; QUESTION SECTION: ;ta-druckhaus.de.               IN      MX ;; ANSWER SECTION: ta-druckhaus.de.        7200    IN      MX      10 m1.zgt.de. ta-druckhaus.de.        7200    IN      MX      20 m2.zgt.de. ;; ADDITIONAL SECTION: m1.zgt.de.              3200    IN      A       195.50.190.152 m2.zgt.de.              948     IN      A       217.65.29.152 ;; Query time: 51 msec ;; SERVER: 10.136.20.50#53(10.136.20.50) ;; WHEN: Mon May 21 13:35:48 2012 ;; MSG SIZE  rcvd: 107