pmcf 1.84.0 → 1.85.0
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 +3 -3
package/package.json
CHANGED
package/src/dns.mjs
CHANGED
|
@@ -141,7 +141,7 @@ export class DNSService extends Base {
|
|
|
141
141
|
...serviceAddresses(this.source, DNS_SERVICE_FILTER).map(a => ` ${a};`),
|
|
142
142
|
"};"
|
|
143
143
|
];
|
|
144
|
-
await writeLines(join(p1, "etc/named
|
|
144
|
+
await writeLines(join(p1, "etc/named/options"), `${name}.conf`, options);
|
|
145
145
|
|
|
146
146
|
const category = [
|
|
147
147
|
"acl trusted {",
|
|
@@ -150,7 +150,7 @@ export class DNSService extends Base {
|
|
|
150
150
|
];
|
|
151
151
|
|
|
152
152
|
await writeLines(
|
|
153
|
-
join(p1, "etc/named
|
|
153
|
+
join(p1, "etc/named"),
|
|
154
154
|
`${name}.conf`,
|
|
155
155
|
category
|
|
156
156
|
);
|
|
@@ -386,7 +386,7 @@ async function generateZoneDefs(dns, packageData) {
|
|
|
386
386
|
}
|
|
387
387
|
|
|
388
388
|
await writeLines(
|
|
389
|
-
join(packageData.dir, "etc/named
|
|
389
|
+
join(packageData.dir, "etc/named/zones"),
|
|
390
390
|
config.name,
|
|
391
391
|
content
|
|
392
392
|
);
|