tools_source: 18
This data as json
| id | tool_id | filename | language | content |
|---|---|---|---|---|
| 18 | 4 | resolve.sh | sh | #!/bin/sh # resolve — bulk dns resolver file="${1:--}" while IFS= read -r domain; do [ -z "$domain" ] && continue dig +short A "$domain" 2>/dev/null | while IFS= read -r ip; do printf '%s\tA\t%s\n' "$domain" "$ip" done dig +short AAAA "$domain" 2>/dev/null | while IFS= read -r ip; do printf '%s\tAAAA\t%s\n' "$domain" "$ip" done done < "$file" |