pmcf 3.13.3 → 3.13.5
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/service.mjs +3 -3
- package/src/services/kea.mjs +1 -1
package/package.json
CHANGED
package/src/service.mjs
CHANGED
|
@@ -282,10 +282,10 @@ export class Service extends Base {
|
|
|
282
282
|
for (const service of this.findServices()) {
|
|
283
283
|
if (service !== this) {
|
|
284
284
|
const serviceType = ServiceTypes[service.type];
|
|
285
|
-
if(!serviceType) {
|
|
285
|
+
/*if(!serviceType) {
|
|
286
286
|
throw new Error(`Unknown service '${service.type}'`);
|
|
287
|
-
}
|
|
288
|
-
const r = serviceType
|
|
287
|
+
}*/
|
|
288
|
+
const r = serviceType?.dnsRecord;
|
|
289
289
|
|
|
290
290
|
if (r?.type === dnsRecord.type) {
|
|
291
291
|
parameters = dnsMergeParameters(parameters, r.parameters);
|
package/src/services/kea.mjs
CHANGED
|
@@ -155,7 +155,7 @@ export class KeaService extends Service {
|
|
|
155
155
|
console.log("kea", name, network.name);
|
|
156
156
|
|
|
157
157
|
const dnsServerEndpoints = serviceEndpoints(network, {
|
|
158
|
-
services: '
|
|
158
|
+
services: 'in("dns",types) && priority>=300',
|
|
159
159
|
endpoints: endpoint => endpoint.networkInterface?.kind !== "loopback"
|
|
160
160
|
});
|
|
161
161
|
|