pmcf 2.53.1 → 2.53.2
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/package.json +1 -1
- package/src/services/bind.mjs +7 -4
package/package.json
CHANGED
package/src/services/bind.mjs
CHANGED
|
@@ -479,17 +479,20 @@ export class BINDService extends ExtraSourceService {
|
|
|
479
479
|
);
|
|
480
480
|
}
|
|
481
481
|
|
|
482
|
-
|
|
482
|
+
const sm = new Map();
|
|
483
|
+
|
|
483
484
|
for (const service of host._services) {
|
|
484
485
|
for (const record of service.dnsRecordsForDomainName(
|
|
485
486
|
host.domainName,
|
|
486
487
|
this.hasSVRRecords
|
|
487
488
|
)) {
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
zone.records.add(record);
|
|
489
|
+
sm.set(record.toString(), record);
|
|
491
490
|
}
|
|
492
491
|
}
|
|
492
|
+
|
|
493
|
+
for (const r of sm.values()) {
|
|
494
|
+
zone.records.add(r);
|
|
495
|
+
}
|
|
493
496
|
}
|
|
494
497
|
}
|
|
495
498
|
}
|