pmcf 2.64.1 → 2.64.2

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.64.1",
3
+ "version": "2.64.2",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -48,7 +48,7 @@
48
48
  "dependencies": {
49
49
  "ip-utilties": "^1.4.6",
50
50
  "npm-pkgbuild": "^18.2.10",
51
- "pacc": "^3.4.4",
51
+ "pacc": "^3.4.5",
52
52
  "pkg-dir": "^8.0.0"
53
53
  },
54
54
  "devDependencies": {
@@ -395,13 +395,16 @@ export class BindService extends ExtraSourceService {
395
395
  };
396
396
  configs.push(config);
397
397
 
398
- const locationRecord = DNSRecord("location", "TXT", locationName);
399
-
400
398
  const zone = {
401
399
  id: domain,
402
400
  file: `${locationName}/${domain}.zone`,
403
- records: new Set([...this.defaultRecords, locationRecord])
401
+ records: new Set(this.defaultRecords)
404
402
  };
403
+
404
+ if (this.hasLocationRecord) {
405
+ zone.records.add(DNSRecord("location", "TXT", locationName));
406
+ }
407
+
405
408
  config.zones.push(zone);
406
409
 
407
410
  if (this.hasCatalog) {
@@ -456,7 +459,7 @@ export class BindService extends ExtraSourceService {
456
459
  )
457
460
  );
458
461
  }
459
- if (subnet && host?.domain === domain) {
462
+ if (subnet && host.domain === domain) {
460
463
  let reverseZone = reverseZones.get(subnet.address);
461
464
 
462
465
  if (!reverseZone) {