ghostwheel42's suggestion

master
Florent Daigniere 2 years ago
parent 6d80eea649
commit 3aa735cc2d

@ -267,11 +267,11 @@ class Domain(Base):
('pop3s', 995, 10),
])
return list([
return [
f'_{proto}._tcp.{self.name}. 600 IN SRV {prio} 1 {port} {hostname}.'
for proto, port, prio
in protocols
])+[f'autoconfig.{self.name}. 600 IN CNAME {hostname}.']
]+[f'autoconfig.{self.name}. 600 IN CNAME {hostname}.']
@cached_property
def dns_tlsa(self):

Loading…
Cancel
Save