←back to thread

768 points speckx | 1 comments | | HN request time: 0.24s | source
1. indigodaddy ◴[] No.45676124[source]
Not really a one liner but this comes in handy for quick dns on multiple hostnames:

https://gist.github.com/jgbrwn/7dd4b262c544f750cb0291161b2ec...

(actually avoids having to do a one liner like: for h in {1..5}; do dig +short A mail”${h}”.domain.com @1.1.1.1 )

Hmm speaking of which I need to add in support for using a specific DNS server