*Update dist

This commit is contained in:
Derrick Hammer 2022-08-19 12:44:29 -04:00
parent 179b7831b2
commit 5070b94728
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 3 additions and 0 deletions

3
dist/index.js vendored
View File

@ -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,