1
0
mirror of https://github.com/ViViDboarder/shoestrap.git synced 2025-01-07 08:47:39 +00:00
shoestrap/assets/default/bin/domains2ips.sh

8 lines
122 B
Bash
Executable File

#! /bin/sh
grep -v '^#' "$@" | \
xargs -n1 nslookup | \
awk '/Address: +/ {print $2;}' | \
sort | \
uniq