add dns servers to details tab (#5709)

Signed-off-by: si458 <simonsmith5521@gmail.com>
This commit is contained in:
Simon Smith
2024-01-18 21:42:17 +00:00
committed by GitHub
parent 21bd171167
commit 6cb05ce009
3 changed files with 14 additions and 3 deletions

View File

@@ -1921,6 +1921,7 @@ function getSystemInformation(func) {
} catch (ex) { }
}
results.hardware.agentvers = process.versions;
results.hardware.network = { dns: require('os').dns() };
replaceSpacesWithUnderscoresRec(results);
var hasher = require('SHA384Stream').create();
// results.hash = hasher.syncHash(JSON.stringify(results)).toString('hex');