mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
dns: fix confusion on XMPP CNAME records for nohost.me & co domains
This commit is contained in:
parent
8e1e29bbd4
commit
f6057d2572
2 changed files with 5 additions and 5 deletions
|
@ -105,7 +105,7 @@ class MyDiagnoser(Diagnoser):
|
|||
if r["value"] == "@":
|
||||
r["value"] = domain + "."
|
||||
elif r["type"] == "CNAME":
|
||||
r["value"] = r["value"] + f".{base_dns_zone}."
|
||||
r["value"] = r["value"] # + f".{base_dns_zone}."
|
||||
|
||||
if self.current_record_match_expected(r):
|
||||
results[id_] = "OK"
|
||||
|
|
|
@ -235,10 +235,10 @@ def _build_dns_conf(base_domain, include_empty_AAAA_if_no_ipv6=False):
|
|||
"SRV",
|
||||
f"0 5 5269 {domain}.",
|
||||
],
|
||||
[f"muc{suffix}", ttl, "CNAME", basename],
|
||||
[f"pubsub{suffix}", ttl, "CNAME", basename],
|
||||
[f"vjud{suffix}", ttl, "CNAME", basename],
|
||||
[f"xmpp-upload{suffix}", ttl, "CNAME", basename],
|
||||
[f"muc{suffix}", ttl, "CNAME", f"{domain}."],
|
||||
[f"pubsub{suffix}", ttl, "CNAME", f"{domain}."],
|
||||
[f"vjud{suffix}", ttl, "CNAME", f"{domain}."],
|
||||
[f"xmpp-upload{suffix}", ttl, "CNAME", f"{domain}."],
|
||||
]
|
||||
|
||||
#########
|
||||
|
|
Loading…
Add table
Reference in a new issue