pmcf 6.1.8 → 6.1.9
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/services/bind.mjs +1 -1
- package/src/services/chrony.mjs +1 -2
package/package.json
CHANGED
package/src/services/bind.mjs
CHANGED
|
@@ -501,7 +501,7 @@ export class bind extends ExtraSourceService {
|
|
|
501
501
|
|
|
502
502
|
async writeForwarders(outputControl) {
|
|
503
503
|
const forwarders = serviceEndpoints(this.source, {
|
|
504
|
-
services: 'services[types[dns]
|
|
504
|
+
services: 'services[types[dns] && priority>=100 && priority<200]',
|
|
505
505
|
endpoints: endpoint => endpoint.family !== "dns",
|
|
506
506
|
select: e => e.address,
|
|
507
507
|
limit: 5
|
package/src/services/chrony.mjs
CHANGED
|
@@ -52,7 +52,6 @@ export class chrony extends ExtraSourceService {
|
|
|
52
52
|
e.service.host !== host &&
|
|
53
53
|
e.networkInterface &&
|
|
54
54
|
e.networkInterface.kind !== "loopback",
|
|
55
|
-
|
|
56
55
|
select: endpoint => {
|
|
57
56
|
const options = [
|
|
58
57
|
endpoint.isPool ? "pool" : "server",
|
|
@@ -77,7 +76,7 @@ export class chrony extends ExtraSourceService {
|
|
|
77
76
|
"ntsdumpdir /var/lib/chrony",
|
|
78
77
|
"dumpdir /var/lib/chrony",
|
|
79
78
|
"pidfile /run/chrony/chronyd.pid",
|
|
80
|
-
[...this.values()].map(s => `allow ${s.address}`),
|
|
79
|
+
[...this.subnets.values()].map(s => `allow ${s.address}`),
|
|
81
80
|
"cmdratelimit interval -4 burst 16",
|
|
82
81
|
[...this.subnets.values()].map(s => `cmdallow ${s.address}`)
|
|
83
82
|
];
|