pmcf 2.11.1 → 2.11.3

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.11.1",
3
+ "version": "2.11.3",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -142,6 +142,15 @@ export class DHCPService extends Service {
142
142
  }
143
143
  };
144
144
 
145
+ const dhcpServerDdns = {
146
+ "enable-updates": true,
147
+ "server-ip": "127.0.0.1",
148
+ "server-port": ddns.DhcpDdns.port,
149
+ "max-queue-size": 64,
150
+ "ncr-protocol": "UDP",
151
+ "ncr-format": "JSON"
152
+ };
153
+
145
154
  const subnets = new Set();
146
155
 
147
156
  for (const network of this.networks) {
@@ -178,7 +187,7 @@ export class DHCPService extends Service {
178
187
  interfaces: [...host.networkInterfaces.values()]
179
188
  .filter(ni => ni.kind !== "loopback")
180
189
  .map(ni => `${ni.name}/${ni.rawIPv4Address}`)
181
- },
190
+ },
182
191
  "multi-threading": {
183
192
  "enable-multi-threading": false
184
193
  },
@@ -212,6 +221,7 @@ export class DHCPService extends Service {
212
221
  reservations
213
222
  };
214
223
  }),
224
+ "dhcp-ddns": dhcpServerDdns,
215
225
  loggers
216
226
  }
217
227
  };
@@ -222,7 +232,7 @@ export class DHCPService extends Service {
222
232
  interfaces: [...host.networkInterfaces.values()]
223
233
  .filter(ni => ni.kind !== "loopback")
224
234
  .map(ni => `${ni.name}/${ni.rawIPv6Address}`)
225
- },
235
+ },
226
236
  "control-socket": {
227
237
  "socket-type": "unix",
228
238
  "socket-name": "/run/kea/6-ctrl-socket"
@@ -264,6 +274,7 @@ export class DHCPService extends Service {
264
274
  ]
265
275
  }
266
276
  ],
277
+ "dhcp-ddns": dhcpServerDdns,
267
278
  loggers
268
279
  }
269
280
  };