Digging to the final IP

Karl Auer kauer at biplane.com.au
Sun Oct 19 06:05:02 UTC 2014

On Sun, 2014-10-19 at 00:26 -0500, Frank Bulk wrote:
> Is there a dig option that will list out the final (IPs) or query result??
> By default, even with +short, it can list intermediate CNAME(s) and not what
> IP(s) that CNAME may have. 

Not great, but might be enough to be helpful:

   dig +nonssearch $1 | egrep -i "STATUS|^$1"

Regards, K.

Karl Auer (kauer at biplane.com.au)

GPG fingerprint: EC67 61E2 C2F6 EB55 884B E129 072B 0AF0 72AA 9882
Old fingerprint: B862 FB15 FE96 4961 BC62 1A40 6239 1208 9865 5F9A

More information about the bind-users mailing list