Add CAA to printer

This commit is contained in:
Tim Caswell 2017-04-12 13:11:55 -05:00
parent e3ccb16e42
commit f65cd74ea3
1 changed files with 3 additions and 0 deletions

View File

@ -60,6 +60,9 @@ var commonPrinters = {
, 'TXT': function (q) { , 'TXT': function (q) {
console.log(';' + q.name + '.', q.ttl, q.className, q.typeName, '"' + q.data.join('" "') + '"'); 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) { function writeQuery(opts, query, queryAb) {