domain-alive 0.1.7 → 0.1.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1370,7 +1370,7 @@ tencentcloud.com. 86400 IN SOA ns-tel1.qq.com. webmaster.qq.com. 165111089
1370
1370
  confirmations++;
1371
1371
  }
1372
1372
  } catch (e) {
1373
- errorNsLog('[NS] %s error %O', domain, e);
1373
+ errorNsLog('[NS] %s error (%s) %O', domain, resolve.server, e);
1374
1374
  } finally{
1375
1375
  attempts++;
1376
1376
  log$1('[NS] %s %d %d/%d', domain, confirmations, attempts, maxAttempts);
package/dist/index.mjs CHANGED
@@ -1362,7 +1362,7 @@ tencentcloud.com. 86400 IN SOA ns-tel1.qq.com. webmaster.qq.com. 165111089
1362
1362
  confirmations++;
1363
1363
  }
1364
1364
  } catch (e) {
1365
- errorNsLog('[NS] %s error %O', domain, e);
1365
+ errorNsLog('[NS] %s error (%s) %O', domain, resolve.server, e);
1366
1366
  } finally{
1367
1367
  attempts++;
1368
1368
  log$1('[NS] %s %d %d/%d', domain, confirmations, attempts, maxAttempts);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "domain-alive",
3
- "version": "0.1.7",
3
+ "version": "0.1.8",
4
4
  "description": "A Node.js library for checking if an FQDN (Fully Qualified Domain Name) is alive or not, uses a combination techniques of `NS` records, WHOIS/RDAP lookups, `A/AAAA` records",
5
5
  "repository": {
6
6
  "type": "git",