Parsing dig output consistently

Anand Buddhdev anandb at ripe.net
Wed Sep 17 12:32:51 UTC 2014


On 17/09/2014 13:57, Mark Andrews wrote:

Hi Mark,

> awk '$5 == "status:" { rcode = $6 } $3 == "SOA" { print $1, rcode }'

So with "+noall +comments +question" and this bit of awk, I can get a
pretty list containing ";zone RCODE," pairs :)

Thanks!

Anand


More information about the bind-users mailing list