Commit graph

14 commits

Author SHA1 Message Date
stanislas
df1f3149ea The p value of a DMARC record can take the values none, quarantine or reject
The validation is no more about the being similar to the expected config. Now wre check that the value of the p parameter of a DMARC record has the value none, quarantine or reject. No check for other parameters but it could be improved
2023-09-12 00:37:47 +02:00
yunohost-bot
14040b8fd2 [CI] Format code with Black 2023-07-10 17:05:52 +00:00
Nicolas Palix
460e39a2f0 Support multiple TXT entries for TLD
The dig of TXT for @ can returns multiple entries.
In that case, the DNS diagnosis fails.

The modification preserves the handling of DMARC and the likes
which use a single entry and a specfic domain name.

For single entry list, the behavior is preserved.

If mutliple TXT entries are defined for @, only the v=spf1
one is returned.

Signed-off-by: Nicolas Palix <nicolas.palix@imag.fr>
2023-06-20 15:25:31 +02:00
Alexandre Aubin
ba4f192557 maintenance: new year, update copyright header 2023-02-02 23:51:14 +01:00
yunohost-bot
b943c69c8b [CI] Format code with Black 2023-02-01 17:10:08 +00:00
Alexandre Aubin
70a8225b1d diagnosis: make the dnsrecord diagnoser not complain about the damn 128 vs 0 stuff in CAA records 2022-11-21 18:53:09 +01:00
Alexandre Aubin
bd7081baf2 maintenance: cleanup .py file headers + automate boring copyright headers... 2022-10-09 18:38:34 +02:00
Alexandre Aubin
f6057d2572 dns: fix confusion on XMPP CNAME records for nohost.me & co domains 2022-09-05 18:23:37 +02:00
yunohost-bot
4155aa7486 [CI] Format code with Black 2022-05-17 23:11:50 +02:00
ljf
19769d8348 [fix] Bad DNS conf suggestion 2022-04-27 14:59:55 +02:00
Alexandre Aubin
1e61883b2f Merge branch 'dev' into bullseye 2022-01-18 00:16:49 +01:00
Kay0u
fc0cf79123
Merge branch 'dev' into bullseye 2021-12-30 15:29:16 +01:00
Alexandre Aubin
d831ccef4c ci: Try to fix mypy 2021-11-28 16:24:13 +01:00
Alexandre Aubin
bc9a9414a2 Fix diagnosis/ vs. diagnosis.py ambiguity, breaking python imports 2021-11-18 01:23:00 +01:00
Renamed from src/diagnosis/12-dnsrecords.py (Browse further)