-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix DANE parser's handling of domains without MX records.
This commit fixes `Test-DaneRecords` to properly support domains that, confusingly, do not specify MX records. In this case (which is spelled out in the RFC), the A and AAAA records of the domain itself (`@`) are used to construct an implied MX host with preference 0. In previous versions, a DANE check would mistakenly be performed on a null domain (`""`) instead of the domain name itself.
- Loading branch information
1 parent
36f9850
commit 7c261ea
Showing
3 changed files
with
13 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters