pmcf 1.23.2 → 1.23.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/bin/pmcf-named-defs +2 -3
- package/package.json +1 -1
- package/src/model.mjs +2 -1
package/bin/pmcf-named-defs
CHANGED
|
@@ -31,10 +31,9 @@ console.log("description", `named defintions for ${location.name}`);
|
|
|
31
31
|
|
|
32
32
|
async function generateNamedDefs(location, targetDir) {
|
|
33
33
|
const dns = location.dns;
|
|
34
|
-
const domain = location.domain;
|
|
35
34
|
const ttl = dns.recordTTL;
|
|
36
35
|
|
|
37
|
-
|
|
36
|
+
for (const domain of dns.domains) {
|
|
38
37
|
const zones = [];
|
|
39
38
|
const records = new Set();
|
|
40
39
|
|
|
@@ -49,7 +48,7 @@ async function generateNamedDefs(location, targetDir) {
|
|
|
49
48
|
);
|
|
50
49
|
}
|
|
51
50
|
|
|
52
|
-
console.log(location.name,
|
|
51
|
+
console.log(location.name, domain, nameserver?.hostName, rname);
|
|
53
52
|
|
|
54
53
|
const catalogZone = {
|
|
55
54
|
id: `catalog.${domain}`,
|
package/package.json
CHANGED
package/src/model.mjs
CHANGED
|
@@ -153,7 +153,7 @@ export class Owner extends Base {
|
|
|
153
153
|
bridge.delete(network);
|
|
154
154
|
bridge.add(other);
|
|
155
155
|
other.bridge = bridge;
|
|
156
|
-
this.info("RESOLVE", network, other, bridgeToJSON(bridge));
|
|
156
|
+
//this.info("RESOLVE", network, other, bridgeToJSON(bridge));
|
|
157
157
|
} else {
|
|
158
158
|
this.error(`Unresolvabale bridge network`, network);
|
|
159
159
|
}
|
|
@@ -975,6 +975,7 @@ export class Service extends Base {
|
|
|
975
975
|
return [
|
|
976
976
|
...super.propertyNames,
|
|
977
977
|
"ipAddresses",
|
|
978
|
+
"addresses",
|
|
978
979
|
"port",
|
|
979
980
|
"protocol",
|
|
980
981
|
"alias",
|