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,