pmcf 6.48.0 → 6.48.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 +42 -2
package/package.json
CHANGED
package/src/services/bind.mjs
CHANGED
|
@@ -416,6 +416,46 @@ class bind_view extends bind_object {
|
|
|
416
416
|
hasSVRRecords = true;
|
|
417
417
|
recordTTL = "1W";
|
|
418
418
|
|
|
419
|
+
set hasForeignDomains(value) {
|
|
420
|
+
this._hasForeignDomains = value;
|
|
421
|
+
}
|
|
422
|
+
|
|
423
|
+
get hasForeignDomains() {
|
|
424
|
+
return this.attribute("_hasForeignDomains");
|
|
425
|
+
}
|
|
426
|
+
|
|
427
|
+
set hasBaseRecords(value) {
|
|
428
|
+
this._hasBaseRecords = value;
|
|
429
|
+
}
|
|
430
|
+
|
|
431
|
+
get hasBaseRecords() {
|
|
432
|
+
return this.attribute("_hasBaseRecords");
|
|
433
|
+
}
|
|
434
|
+
|
|
435
|
+
set hasReverse(value) {
|
|
436
|
+
this._hasReverse = value;
|
|
437
|
+
}
|
|
438
|
+
|
|
439
|
+
get hasReverse() {
|
|
440
|
+
return this.attribute("_hasReverse");
|
|
441
|
+
}
|
|
442
|
+
|
|
443
|
+
set hasCatalog(value) {
|
|
444
|
+
this._hasCatalog = value;
|
|
445
|
+
}
|
|
446
|
+
|
|
447
|
+
get hasCatalog() {
|
|
448
|
+
return this.attribute("_hasCatalog");
|
|
449
|
+
}
|
|
450
|
+
|
|
451
|
+
set hasSVRRecords(value) {
|
|
452
|
+
this._hasSVRRecords = value;
|
|
453
|
+
}
|
|
454
|
+
|
|
455
|
+
get hasSVRRecords() {
|
|
456
|
+
return this.attribute("_hasSVRRecords");
|
|
457
|
+
}
|
|
458
|
+
|
|
419
459
|
get type() {
|
|
420
460
|
return this.owner.serverType;
|
|
421
461
|
}
|
|
@@ -503,6 +543,8 @@ class bind_view extends bind_object {
|
|
|
503
543
|
const locationName = host.owner.name;
|
|
504
544
|
|
|
505
545
|
for (const domain of na.domains) {
|
|
546
|
+
let reverseZone;
|
|
547
|
+
|
|
506
548
|
const config = this.zoneConfigs.getOrInsertComputed(
|
|
507
549
|
domain,
|
|
508
550
|
domain => new bind_zone_config(this, `${domain}.zone.conf`)
|
|
@@ -516,8 +558,6 @@ class bind_view extends bind_object {
|
|
|
516
558
|
);
|
|
517
559
|
|
|
518
560
|
if (this.hasBaseRecords) {
|
|
519
|
-
let reverseZone;
|
|
520
|
-
|
|
521
561
|
if (this.hasReverse && na.subnet.prefix) {
|
|
522
562
|
let subnet;
|
|
523
563
|
|