Add new cli for converting domains to ip addresses

This commit is contained in:
ViViDboarder 2023-08-16 10:15:00 -07:00
parent b9e665f1e8
commit f0c51256fc

View File

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