Frage

Ich versuche, eine Domain abfragen seine volle DNS-Zone Inserate abzurufen (A, MX, CNAME, ...)

Es scheint, dass host -a nur den NS und MX-Datensätze zurückkehrt.

Jede Hilfe wäre sehr willkommen.

Danke.

War es hilfreich?

Lösung

→ dig -t ANY stackoverflow.com 

; <<>> DiG 9.6.0-APPLE-P2 <<>> -t ANY stackoverflow.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 20242
;; flags: qr rd ra; QUERY: 1, ANSWER: 5, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;stackoverflow.com.     IN  ANY

;; ANSWER SECTION:
stackoverflow.com.  1202    IN  A   64.34.119.12
stackoverflow.com.  65902   IN  NS  ns3.p19.dynect.net.
stackoverflow.com.  65902   IN  NS  ns1.p19.dynect.net.
stackoverflow.com.  65902   IN  NS  ns4.p19.dynect.net.
stackoverflow.com.  65902   IN  NS  ns2.p19.dynect.net.

;; Query time: 38 msec
;; SERVER: 192.168.1.254#53(192.168.1.254)
;; WHEN: Tue Nov 23 19:55:51 2010
;; MSG SIZE  rcvd: 137

funktioniert das für Sie?

Andere Tipps

TL; DR

https://superuser.com/questions/24389/is-there-a-way-to-get-the-complete-zone-file-for-a-domain-without-contacting-its


In guten Traditionen von Open Source und der Freiheit der Wahl, hier anthere Option: host -t NS stackoverflow.com, die ausgegeben würden folgende:

stackoverflow.com name server ns-cloud-e1.googledomains.com.
stackoverflow.com name server ns-358.awsdns-44.com.
stackoverflow.com name server ns-1033.awsdns-01.org.
stackoverflow.com name server ns-cloud-e2.googledomains.com.

, weil Sie den Typ angegeben haben. Oder Verwendungsflag -a statt, um alle Aufzeichnungen zu sehen. Alternativ dazu können Sie nslookup -type=any stackoverflow.com verwenden. Aber leider keine dieser Optionen würden Sie die Zonendatei. Aber wenn Sie auf einem anderen Stack Forum suchen würde würden Sie die Antwort finden Sie hier: https://superuser.com/questions/24389/is-there-a-way-to-get-the-complete-zone-file-for -a-Domain-ohne kontakt-its

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top