Conversation
|
The SOA mail address for com.gl is gl-admin@tele.gl. The mail domain, as I see it, is tele.gl. Then when mx for tele.gl is looked up, you get a list of mail server names: Those should not be called "mail domains". The last one gives NXDOMAIN. |
I have renamed variables and mentions of "mail domain" to "mail server" in the code, except in the message tags as those require an update to the specification first (but I don't think it's worth it). See commit 9aa8687. |
The specification needs a larger update, so I agree with you. I will set up test zones for the test case. |
marc-vanderwal
left a comment
There was a problem hiding this comment.
Looks fine; I just have a few style suggestions.
|
As I read the specification, |
Deviations (from specification v2023.1): - RNAME_RFC822_VALID was being outputted even if previous RNAME_MAIL_DOMAIN_INVALID were seen. - RNAME_MAIL_DOMAIN_LOCALHOST and RNAME_MAIL_ILLEGAL_CNAME coverage was missing in unitary tests. Note that RNAME_MAIL_ILLEGAL_CNAME is still untested as of this commit. Corrections: - RNAME_MAIL_DOMAIN_INVALID will be outputted once per mail domain. - Refactoring.
Refactoring Renaming of variables and mentions of "mail domain" to "mail server" (besides message tags)
Co-authored-by: Marc van der Wal <103426270+marc-vanderwal@users.noreply.github.com>
ef360b3 to
5d68ba5
Compare
That's because this PR was based on old develop. I rebased, and now it should work as expected: |
|
Release testing: Looks fine. |
Purpose
This PR updates Syntax06 implementation in several aspects. I guess these were missed in the latest implementation update (#803) following the specification update (zonemaster/zonemaster#788).
Context
https://zonemaster.fr/en/result/24e61ae29cc4987e (see Syntax section)
Follow-up on #803
Changes
Deviations (from specification as of v2023.1):
RNAME_RFC822_VALIDwas being outputted even if previousRNAME_MAIL_DOMAIN_INVALIDwere seen.RNAME_MAIL_DOMAIN_LOCALHOSTandRNAME_MAIL_ILLEGAL_CNAMEcoverage was missing in unitary tests. Note thatRNAME_MAIL_ILLEGAL_CNAMEis still untested.Corrections:
RNAME_MAIL_DOMAIN_INVALIDwill now be outputted once per mail domain.How to test this PR
Unit tests should pass. Also:
Now:
Before: