pmcf 1.67.0 → 1.67.1

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.67.0",
3
+ "version": "1.67.1",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
package/src/dns.mjs CHANGED
@@ -132,10 +132,10 @@ export class DNSService extends Base {
132
132
  const options = ["forwarders {"];
133
133
  for (const s of this.forwardsTo) {
134
134
  for (const dns of s.findServices(DNS_SERVICE_FILTER)) {
135
- options.push(...(dns.rawAddresses.map(a=>a+";")));
135
+ options.push(...(dns.rawAddresses.map(a=>` ${a};`)));
136
136
  }
137
137
  }
138
- options.push("}");
138
+ options.push("};");
139
139
  await writeLines(join(p1, "etc/named.d/options"), `${name}.conf`, options);
140
140
 
141
141
  const category = [];