pmcf 2.35.0 → 2.35.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pmcf",
3
- "version": "2.35.0",
3
+ "version": "2.35.1",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
package/src/service.mjs CHANGED
@@ -10,11 +10,6 @@ import {
10
10
  } from "./dns-utils.mjs";
11
11
 
12
12
  const ServiceTypes = {
13
- "systemd-resolved": { endpoints: [] },
14
- "systemd-timesyncd": { endpoints: [] },
15
- "systemd-journal": { endpoints: [] },
16
- "systemd-journal-remote": { endpoints: [] },
17
- "systemd-journal-upload": { endpoints: [] },
18
13
  ntp: { endpoints: [{ protocol: "udp", port: 123, tls: false }] },
19
14
  dns: { endpoints: [{ protocol: "udp", port: 53, tls: false }] },
20
15
  ldap: { endpoints: [{ protocol: "tcp", port: 389, tls: false }] },
@@ -221,7 +221,7 @@ export class DNSService extends ExtraSourceService {
221
221
  };
222
222
 
223
223
  const forwarders = serviceEndpoints(this.source, {
224
- services: { type: "dns", priority: ">=10" },
224
+ services: { type: "dns", priority: ">=20" },
225
225
  select: e => e.address
226
226
  });
227
227
 
@@ -65,7 +65,7 @@ export class NTPService extends ExtraSourceService {
65
65
  ...serviceEndpoints(this, {
66
66
  services: {
67
67
  type: "ntp",
68
- priority: ">=10"
68
+ priority: ">=20"
69
69
  },
70
70
  endpoints: e =>
71
71
  e.family === "IPv4" && e.networkInterface.kind !== "loopback",
@@ -52,7 +52,7 @@ export class SystemdResolvedService extends ExtraSourceService {
52
52
  "Resolve",
53
53
  {
54
54
  DNS: serviceEndpoints(this, options("<10")),
55
- FallbackDNS: serviceEndpoints(this, options(">=10")),
55
+ FallbackDNS: serviceEndpoints(this, options(">=20")),
56
56
  Domains: [...this.localDomains].join(" "),
57
57
  DNSSEC: "no",
58
58
  MulticastDNS: this.network.multicastDNS ? "yes" : "no",
@@ -45,7 +45,7 @@ export class SystemdTimesyncdService extends ExtraSourceService {
45
45
  NTP: serviceEndpoints(this, {
46
46
  services: {
47
47
  type: "ntp",
48
- priority: "<20"
48
+ priority: "<10"
49
49
  },
50
50
  endpoints: endpoint =>
51
51
  endpoint.networkInterface.kind !== "loopback",