pmcf 1.74.0 → 1.74.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": "1.74.0",
3
+ "version": "1.74.2",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
package/src/dns.mjs CHANGED
@@ -213,7 +213,7 @@ async function generateZoneDefs(dns, targetDir) {
213
213
 
214
214
  for (const mail of dns.owner.findServices({ type: "smtp" })) {
215
215
  records.add(
216
- createRecord("@", "MX", mail.priority, fullName(mail.ipAddressOrDomainName))
216
+ createRecord("@", "MX", mail.priority, fullName(mail.domainName))
217
217
  );
218
218
  }
219
219
 
package/src/host.mjs CHANGED
@@ -226,10 +226,6 @@ export class Host extends Base {
226
226
  return this.#distribution || this.extends.find(e => e.distribution);
227
227
  }
228
228
 
229
- get domain() {
230
- return this.location?.domain;
231
- }
232
-
233
229
  get modelName() {
234
230
  return this.model?.hostName;
235
231
  }