Find all the name servers of domain in Virtualmin

This script should find all the name servers of domains in virtualmin

 

for dom in $(virtualmin list-domains --with-feature web --name-only); do
host -t ns $dom
done

 

 

 


Posted

in

by

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *