pmcf 6.29.0 → 6.29.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 +10 -6
package/package.json
CHANGED
package/src/services/bind.mjs
CHANGED
|
@@ -156,6 +156,9 @@ class bind_zone_config extends Base {
|
|
|
156
156
|
} else {
|
|
157
157
|
content.push(` type ${this.type};`);
|
|
158
158
|
content.push(` file \"${zone.file}\";`);
|
|
159
|
+
if(this.type === 'secondary') {
|
|
160
|
+
content.push(`# primaries {};`);
|
|
161
|
+
}
|
|
159
162
|
content.push(
|
|
160
163
|
addressesStatement("allow-update", group.allowUpdate, "none;", " ")
|
|
161
164
|
);
|
|
@@ -295,7 +298,7 @@ class bind_group extends bind_object {
|
|
|
295
298
|
type: bind_group
|
|
296
299
|
},
|
|
297
300
|
notify: { ...boolean_attribute_writable_false, name: "notify" },
|
|
298
|
-
hasCatalog: { ...
|
|
301
|
+
hasCatalog: { ...boolean_attribute_writable_false, name: "hasCatalog" },
|
|
299
302
|
hasReverse: { ...boolean_attribute_writable_false, name: "hasReverse" },
|
|
300
303
|
hasSVRRecords: {
|
|
301
304
|
...boolean_attribute_writable_false,
|
|
@@ -611,6 +614,12 @@ export class bind extends CoreService {
|
|
|
611
614
|
name: "forwarders",
|
|
612
615
|
deferredExpression: true
|
|
613
616
|
},
|
|
617
|
+
primaries: {
|
|
618
|
+
...default_collection_attribute_writable,
|
|
619
|
+
name: "primaries",
|
|
620
|
+
type: networkAddressType,
|
|
621
|
+
deferredExpression: true
|
|
622
|
+
},
|
|
614
623
|
acls: {
|
|
615
624
|
...default_collection_attribute_writable,
|
|
616
625
|
name: "acls",
|
|
@@ -622,11 +631,6 @@ export class bind extends CoreService {
|
|
|
622
631
|
name: "groups",
|
|
623
632
|
type: bind_group,
|
|
624
633
|
backpointer: owner_attribute
|
|
625
|
-
},
|
|
626
|
-
primaries: {
|
|
627
|
-
...default_collection_attribute_writable,
|
|
628
|
-
name: "primaries",
|
|
629
|
-
type: networkAddressType
|
|
630
634
|
}
|
|
631
635
|
};
|
|
632
636
|
static service = {
|