modified: netbox_dns_bridge/catalog_zone_manager.py
modified: netbox_dns_bridge/notify_handler.py
This commit is contained in:
1 parent
f5791e94d5
commit
a5d163b4af
2 files changed
+11
-15
No files matched your search
@@ -181,18 +181,12 @@ def _create_soa_rdataset() -> dns.rdataset:
|
||||
ttl = 0
|
||||
rclass = dns.rdataclass.IN
|
||||
rtype = dns.rdatatype.SOA
|
||||
mname = dns.name.from_text("invalid", dns.name.root)
|
||||
rname = dns.name.from_text("invalid", dns.name.root)
|
||||
refresh = 60
|
||||
retry = 10
|
||||
expire = 1209600
|
||||
minimum = 0
|
||||
|
||||
# Create SOA rdata object
|
||||
rdata = dns.rdata.from_text(
|
||||
rclass,
|
||||
rtype,
|
||||
f"{mname} {rname} {serial} {refresh} {retry} {expire} {minimum}",
|
||||
f"invalid. invalid. {serial} 60 10 1209600 0",
|
||||
)
|
||||
|
||||
# Create Rdataset and add the RDATA to it
|
||||
|
||||
Reference in new issue
Block a user