pmcf 6.29.1 → 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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pmcf",
3
- "version": "6.29.1",
3
+ "version": "6.29.2",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -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
  );
@@ -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 = {