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

Kommentar hinterlassen