Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/dnsviz/dnsviz.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorCasey Deccio <casey@deccio.net>2020-12-17 03:06:14 +0300
committerCasey Deccio <casey@deccio.net>2020-12-17 03:06:55 +0300
commit69d4a44c6fb2b966733e5621f610e7cae41d0251 (patch)
tree1bd6906777ceb6333ff172d94ba30f91e236ae61 /share
parent33da7ca6b60fa7ef8c29b6f4f0d18f0aeaf3cbd9 (diff)
Display NSID values
Fixes #50.
Diffstat (limited to 'share')
-rw-r--r--share/js/dnsviz.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/share/js/dnsviz.js b/share/js/dnsviz.js
index f5bb6b4..76539fb 100644
--- a/share/js/dnsviz.js
+++ b/share/js/dnsviz.js
@@ -43,6 +43,8 @@ function AuthGraph(anchorElement, maxPaperWidth, imageScale) {
'ttl': 'TTL',
'rrset': 'RRset',
'rdata': 'Record data',
+ 'nsid': 'NSID',
+ 'ns': 'NS',
}
this._dnssec_algorithms = {
1: 'RSA/MD5',
@@ -114,7 +116,7 @@ AuthGraph.prototype.infoToHtmlTableComponents = function (obj) {
}
s += '</ul>';
} else if (typeof val[0] in {'string':null,'number':null}) {
- if (key.toLowerCase() in {'servers':null,'digest_type':null}) {
+ if (key.toLowerCase() in {'servers':null,'nsid_values':null,'ns_names':null,'digest_type':null}) {
s += val.join(", ");
} else {
s += val.join("<br />");