# Source - https://stackoverflow.com/a/1521498
# Posted by Bruno De Fraine, modified by community. See post 'Timeline' for change history
# Retrieved 2025-11-14, License - CC BY-SA 4.0
while read p; do
echo "$p"
echo $p >> output.txt
host -t ns $p >> output.txt
done < domains.txt
Leave a Reply