pmcf 2.51.7 → 2.51.8
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/dhcp.mjs +14 -16
package/package.json
CHANGED
package/src/services/dhcp.mjs
CHANGED
|
@@ -183,21 +183,6 @@ export class DHCPService extends Service {
|
|
|
183
183
|
"renew-timer": 900,
|
|
184
184
|
"rebind-timer": 1800,
|
|
185
185
|
"valid-lifetime": 3600,
|
|
186
|
-
"preferred-lifetime": 3000,
|
|
187
|
-
|
|
188
|
-
"option-data": [
|
|
189
|
-
{
|
|
190
|
-
name: "dns-servers",
|
|
191
|
-
data: dnsServerEndpoints
|
|
192
|
-
.filter(endpoint => endpoint.family === `IPv${family}`)
|
|
193
|
-
.map(endpoint => endpoint.address)
|
|
194
|
-
.join(",")
|
|
195
|
-
},
|
|
196
|
-
{
|
|
197
|
-
name: "domain-search",
|
|
198
|
-
data: [...this.domains].join(",")
|
|
199
|
-
}
|
|
200
|
-
],
|
|
201
186
|
"hooks-libraries": [
|
|
202
187
|
{
|
|
203
188
|
library: "/usr/lib/kea/hooks/libdhcp_lease_cmds.so"
|
|
@@ -216,7 +201,20 @@ export class DHCPService extends Service {
|
|
|
216
201
|
}
|
|
217
202
|
],
|
|
218
203
|
"dhcp-ddns": dhcpServerDdns,
|
|
219
|
-
loggers
|
|
204
|
+
loggers,
|
|
205
|
+
"option-data": [
|
|
206
|
+
{
|
|
207
|
+
name: "domain-name-servers",
|
|
208
|
+
data: dnsServerEndpoints
|
|
209
|
+
.filter(endpoint => endpoint.family === `IPv${family}`)
|
|
210
|
+
.map(endpoint => endpoint.address)
|
|
211
|
+
.join(",")
|
|
212
|
+
},
|
|
213
|
+
{
|
|
214
|
+
name: "domain-search",
|
|
215
|
+
data: [...this.domains].join(",")
|
|
216
|
+
}
|
|
217
|
+
]
|
|
220
218
|
};
|
|
221
219
|
};
|
|
222
220
|
|