Permalink
Browse files

Shortcut script that merges SRV and CNAMEs.

  • Loading branch information...
1 parent f03b5a2 commit 2aa55b9117add3341f1c646fe21352d39b019171 @solidsnack solidsnack committed Dec 5, 2011
Showing with 6 additions and 0 deletions.
  1. +6 −0 bin/digz
View
@@ -0,0 +1,6 @@
+#!/bin/bash
+set -o nounset -o pipefail -o errexit
+
+dig @8.8.8.8 +short +tcp "$1" CNAME '_*._*'."$1" SRV |
+ cut -d' ' -f4 | sort | uniq
+

0 comments on commit 2aa55b9

Please sign in to comment.