pmcf 1.87.1 → 1.87.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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/dns.mjs +2 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pmcf",
3
- "version": "1.87.1",
3
+ "version": "1.87.2",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
package/src/dns.mjs CHANGED
@@ -151,7 +151,7 @@ export class DNSService extends Base {
151
151
  ...serviceAddresses(this.source, DNS_SERVICE_FILTER).map(a => ` ${a};`),
152
152
  "};"
153
153
  ];
154
- await writeLines(join(p1, "etc/named/options"), `${name}.conf`, options);
154
+ await writeLines(join(p1, "etc/named/options"), `forwarders.conf`, options);
155
155
 
156
156
  const category = [
157
157
  "acl trusted {",
@@ -172,7 +172,7 @@ export class DNSService extends Base {
172
172
  category
173
173
  );
174
174
 
175
- if (options.length > 2 || category.length > 2) {
175
+ if (options.length > 2 || category.length > 8) {
176
176
  yield packageData;
177
177
  }
178
178