*Update dist
This commit is contained in:
parent
179b7831b2
commit
5070b94728
|
@ -127,6 +127,9 @@ export default class Handshake extends AbstractResolverModule {
|
||||||
records.push.apply(records, result.records);
|
records.push.apply(records, result.records);
|
||||||
}
|
}
|
||||||
async processGlue(domain, record, records, options, bypassCache) {
|
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)) {
|
if (isDomain(record.ns) && isIp(record.address)) {
|
||||||
let results = await this.resolver.resolve(domain, {
|
let results = await this.resolver.resolve(domain, {
|
||||||
...options,
|
...options,
|
||||||
|
|
Loading…
Reference in New Issue