ghostwheel42's suggestion

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

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

Loading…
Cancel
Save