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.
- package/package.json +1 -1
- package/src/dns.mjs +2 -2
package/package.json
CHANGED
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"),
|
|
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 >
|
|
175
|
+
if (options.length > 2 || category.length > 8) {
|
|
176
176
|
yield packageData;
|
|
177
177
|
}
|
|
178
178
|
|