From 6cb027a6a11392c3e3b5cb70db2dc335104670db Mon Sep 17 00:00:00 2001 From: noamblitz Date: Fri, 18 Oct 2024 15:02:03 +0200 Subject: [PATCH] let mailserver inherit l1 --- octopoes/octopoes/models/ooi/dns/records.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/octopoes/octopoes/models/ooi/dns/records.py b/octopoes/octopoes/models/ooi/dns/records.py index 8d63cf70ed4..972b20e4a07 100644 --- a/octopoes/octopoes/models/ooi/dns/records.py +++ b/octopoes/octopoes/models/ooi/dns/records.py @@ -50,7 +50,7 @@ class DNSMXRecord(DNSRecord): object_type: Literal["DNSMXRecord"] = "DNSMXRecord" dns_record_type: Literal["MX"] = "MX" - mail_hostname: Reference | None = ReferenceField(Hostname, default=None) + mail_hostname: Reference | None = ReferenceField(Hostname, default=None, max_inherit_scan_level=1) preference: int | None = None _reverse_relation_names = {"hostname": "dns_mx_records", "mail_hostname": "mail_server_of"}