Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save MinaMikhailcom/9eddb3a55335e19905443d4c17e4fdfb to your computer and use it in GitHub Desktop.
Save MinaMikhailcom/9eddb3a55335e19905443d4c17e4fdfb to your computer and use it in GitHub Desktop.
for i in domain1.com domain2.com domain3.com domain4.com domainXetc.com; do echo $i : $(dig NS $i +short); done
OR:
for i in `cat domainslist.txt`; do dig ns $i; done
<Domain list created in "domainslist.txt" file)
<Change Record type from NS to any other>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment