pmcf 1.76.2 → 1.76.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 +1 -1
- package/src/dns.mjs +3 -1
package/package.json
CHANGED
package/src/dns.mjs
CHANGED
|
@@ -231,11 +231,13 @@ async function generateZoneDefs(dns, targetDir) {
|
|
|
231
231
|
fullName(nameService.ipAddressOrDomainName)
|
|
232
232
|
);
|
|
233
233
|
|
|
234
|
+
const ALPNRecord = createRecord("@", "HTTPS", 1, ".", "alpn=h3");
|
|
235
|
+
|
|
234
236
|
const zone = {
|
|
235
237
|
id: domain,
|
|
236
238
|
type: "plain",
|
|
237
239
|
file: `${dns.owner.name}/${domain}.zone`,
|
|
238
|
-
records: new Set([SOARecord, NSRecord, ...records])
|
|
240
|
+
records: new Set([SOARecord, NSRecord, ALPNRecord, ...records])
|
|
239
241
|
};
|
|
240
242
|
zones.push(zone);
|
|
241
243
|
|