From 5070b9472844d660ff7455835ba1ccdb678329ad Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Fri, 19 Aug 2022 12:44:29 -0400 Subject: [PATCH] *Update dist --- dist/index.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dist/index.js b/dist/index.js index 4f9fafc..d1a62d3 100644 --- a/dist/index.js +++ b/dist/index.js @@ -127,6 +127,9 @@ export default class Handshake extends AbstractResolverModule { records.push.apply(records, result.records); } async processGlue(domain, record, records, options, bypassCache) { + if (![DNS_RECORD_TYPE.A, DNS_RECORD_TYPE.CNAME, DNS_RECORD_TYPE.NS].includes(options.type)) { + return; + } if (isDomain(record.ns) && isIp(record.address)) { let results = await this.resolver.resolve(domain, { ...options,