DIG: Get all SOA of a Domain (ask all Nameservers)

Get the Start of Authority records on every Nameserver for the Domain thetutorial.de:

DOMAIN=thetutorial.de ; host -t ns $DOMAIN | sed "s/$DOMAIN name server //g" | while read line; do dig +noall +answer soa $DOMAIN @$line; done

In

Schreibe einen Kommentar

Deine E-Mail-Adresse wird nicht veröffentlicht. Erforderliche Felder sind mit * markiert