pmcf 2.33.5 → 2.33.7
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-utils.mjs +1 -1
- package/src/endpoint.mjs +1 -7
- package/src/services/dns.mjs +0 -3
- package/types/endpoint.d.mts +0 -2
package/package.json
CHANGED
package/src/dns-utils.mjs
CHANGED
|
@@ -85,7 +85,7 @@ export function dnsFormatParameters(parameters) {
|
|
|
85
85
|
return Object.entries(parameters)
|
|
86
86
|
.map(([name, value]) =>
|
|
87
87
|
value !== undefined && [...asIterator(value)].length > 0
|
|
88
|
-
? `${name}="${[...asIterator(value)].join(",")}"`
|
|
88
|
+
? `${name}="${[...asIterator(value)].sort().join(",")}"`
|
|
89
89
|
: name
|
|
90
90
|
)
|
|
91
91
|
.sort((a, b) => a[0].localeCompare(b[0]))
|
package/src/endpoint.mjs
CHANGED
|
@@ -17,14 +17,8 @@ export class Endpoint {
|
|
|
17
17
|
return this.networkAddress.networkInterface.hostName;
|
|
18
18
|
}
|
|
19
19
|
|
|
20
|
-
#address;
|
|
21
|
-
|
|
22
20
|
get address() {
|
|
23
|
-
return this
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
set address(value) {
|
|
27
|
-
this.#address = value;
|
|
21
|
+
return this.networkAddress.address;
|
|
28
22
|
}
|
|
29
23
|
|
|
30
24
|
get family() {
|
package/src/services/dns.mjs
CHANGED
|
@@ -418,7 +418,6 @@ async function generateZoneDefs(dns, location, packageData) {
|
|
|
418
418
|
const hosts = new Set();
|
|
419
419
|
const addresses = new Set();
|
|
420
420
|
|
|
421
|
-
console.log("LIST", location.toString());
|
|
422
421
|
for await (const {
|
|
423
422
|
address,
|
|
424
423
|
subnet,
|
|
@@ -426,8 +425,6 @@ async function generateZoneDefs(dns, location, packageData) {
|
|
|
426
425
|
domainNames,
|
|
427
426
|
family
|
|
428
427
|
} of location.networkAddresses()) {
|
|
429
|
-
console.log("ADDRESS", address);
|
|
430
|
-
|
|
431
428
|
if (
|
|
432
429
|
!dns.exclude.has(networkInterface.network) &&
|
|
433
430
|
!dns.excludeInterfaceKinds.has(networkInterface.kind)
|