add logging to dns page
This commit is contained in:
@@ -27,6 +27,10 @@ router.get('/dns/edit/:domainId', authMw.AllowIfAuthenticated, async (req, res,
|
||||
const fullDomain = result.domain + "." + result.tld;
|
||||
let records = await GetAllRecords(fullDomain);
|
||||
|
||||
for(let i = 0; i < records.length; i++) {
|
||||
console.log(records[i]);
|
||||
}
|
||||
|
||||
res.render('dns', {title: pageTitle, domain: result, dnsRecords: records});
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user