Added JMAP SRV DNS record

This commit is contained in:
mdecimus 2024-07-03 18:33:28 +02:00
parent 4bf191f06b
commit 6f7f9d5fed

View file

@ -238,6 +238,11 @@ impl JMAP {
}
("http", _) if is_tls => {
has_https = true;
records.push(DnsRecord {
typ: "SRV".to_string(),
name: format!("_jmap._tcp.{domain_name}.",),
content: format!("0 1 {port} {server_name}."),
});
}
_ => (),
}