This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # Bulk DNS Lookup | |
| # Resolve a FQDN or PTR on multiple servers in one single time | |
| # | |
| # File name/path of dns server list: | |
| dns_list='domains.txt' # One DNS server IP or FQDN per line in the file | |
| # | |
| echo "Script started at" | |
| date | |
| echo "-----------------------" |