mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
diagnosis: incorrect dns check (relative vs absolute) for CNAME on subdomain
This commit is contained in:
parent
23d58c1217
commit
d81b85a49a
1 changed files with 2 additions and 0 deletions
|
@ -97,6 +97,8 @@ class DNSRecordsDiagnoser(Diagnoser):
|
|||
r["current"] = self.get_current_record(fqdn, r["type"])
|
||||
if r["value"] == "@":
|
||||
r["value"] = domain + "."
|
||||
elif r["type"] == "CNAME":
|
||||
r["value"] = r["value"] + f".{base_dns_zone}."
|
||||
|
||||
if self.current_record_match_expected(r):
|
||||
results[id_] = "OK"
|
||||
|
|
Loading…
Add table
Reference in a new issue