From f65cd74ea379dad9de198d22519bc55886751eca Mon Sep 17 00:00:00 2001 From: Tim Caswell Date: Wed, 12 Apr 2017 13:11:55 -0500 Subject: [PATCH] Add CAA to printer --- bin/dig.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bin/dig.js b/bin/dig.js index 2eaa411..57ac942 100755 --- a/bin/dig.js +++ b/bin/dig.js @@ -60,6 +60,9 @@ var commonPrinters = { , 'TXT': function (q) { console.log(';' + q.name + '.', q.ttl, q.className, q.typeName, '"' + q.data.join('" "') + '"'); } +, 'CAA': function (q) { + console.log(';' + q.name + '.', q.ttl, q.className, q.typeName, q.flag + ' ' + q.tag + ' "' + q.value + '"'); + } }; function writeQuery(opts, query, queryAb) {