sysinfo: add interface to get IPv6 address
This commit is contained in:
@@ -323,7 +323,7 @@ async function setupDnsAndCert(subdomain, domain, auditSource, progressCallback)
|
||||
const domainObject = await domains.get(domain);
|
||||
const dashboardFqdn = dns.fqdn(subdomain, domainObject);
|
||||
|
||||
const ip = await sysinfo.getServerIp();
|
||||
const ip = await sysinfo.getServerIPv4();
|
||||
|
||||
progressCallback({ message: `Updating DNS of ${dashboardFqdn}` });
|
||||
await dns.upsertDnsRecords(subdomain, domain, 'A', [ ip ]);
|
||||
|
||||
Reference in New Issue
Block a user