• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

albertito / spf
100%
master: 100%

Build:
Build:
LAST BUILD BRANCH: main
DEFAULT BRANCH: master
Repo Added 18 Mar 2018 04:49PM UTC
Files 1
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

LAST BUILD ON BRANCH next
branch: next
CHANGE BRANCH
x
Reset
  • next
  • main
  • master
  • v1.1.0
  • v1.1.1
  • v1.2.0
  • v1.3.0
  • v1.4.0
  • v1.4.1
  • v1.5.0
  • v1.5.1

23 Aug 2026 12:02PM UTC coverage: 99.825%. Remained the same
32638494909

push

albertito
ptr: Make reverse DNS lookup errors fail to match

Currently, when processing a ptr mechanism, if the reverse DNS lookup
fails (with other than NXDOMAIN), then it returns temperror.

However, the standard is clear that we should just fail to match
instead:

> Check all validated domain names to see if they either match the
> <target-name> domain or are a subdomain of the <target-name> domain.
> If any do, this mechanism matches.  If no validated domain name can
> be found, or if none of the validated domain names match or are a
> subdomain of the <target-name>, this mechanism fails to match.  If a
> DNS error occurs while doing the PTR RR lookup, then this mechanism
> fails to match.  If a DNS error occurs while doing an A RR lookup,
> then that domain name is skipped and the search continues.

https://tools.ietf.org/html/rfc7208#section-5.5

This patch fixes this by making those lookup errors fail to match as
described by the standard.

2 of 2 new or added lines in 1 file covered. (100.0%)

569 of 570 relevant lines covered (99.82%)

2591.37 hits per line

Relevant lines Covered
Build:
Build:
570 RELEVANT LINES 569 COVERED LINES
2591.37 HITS PER LINE
Source Files on next
  • Tree
  • List 1
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
32638494909 next ptr: Make reverse DNS lookup errors fail to match Currently, when processing a ptr mechanism, if the reverse DNS lookup fails (with other than NXDOMAIN), then it returns temperror. However, the standard is clear that we should just fail to match... push 23 Aug 2026 12:08PM UTC albertito
99.82
32583625760 next test: Add more tests from RFC 7208 The existing test suite is fairly comprehensive, and we already have code coverage. But going through RFC 7208, there are some corner cases that are not included. This patch adds more tests based on RFC 7208, i... push 22 Aug 2026 04:05PM UTC albertito
99.82
32564822175 next ci: Update versions of actions/checkout and actions/setup-go The versions of actions/checkout and actions/setup-go we use are deprecated and may stop working in the future. This patch updates them to the latest, and also set explicit permissions... push 22 Aug 2026 09:24AM UTC albertito
99.82
32564395602 next git: Rename stable branch to "main" These days `main` is more common, and I find it more intuitive. push 22 Aug 2026 09:15AM UTC albertito
99.82
32532905522 next a, mx: Reject malformed fields without domain Fields like "a:" or "mx:/24" are malformed, but currently we accept them with the current domain. This is fairly harmless in general but can cause interoperability problems, and checkers to return wro... push 21 Aug 2026 10:26PM UTC albertito
99.82
32081052939 next macro: Reject invalid and non-terminated macros Currently in the macro parsing we accept (and ignore) invalid macro characters, and also accept non-terminated macros. To fix both bugs, and make the parser more standards-compliant, this patch mak... push 17 Aug 2026 11:36PM UTC albertito
99.85
32073430335 next ptr: Fix subdomain checking As per RFC, for ptr matches we want to check the domain is the same, or a subdomain. From https://tools.ietf.org/html/rfc7208#section-5.5: > Check all validated domain names to see if they either match the > <target-... push 17 Aug 2026 09:55PM UTC albertito
99.85
31951004577 next doc: Remove now-defunct Go Report Card from the README The Go Report Card website has been closed down, remove references to it from the README file. push 16 Aug 2026 01:52PM UTC albertito
99.84
16242344246 next test: Group IP address vars into a single block This commit groups related IP test address variables into a single block for improved readability and consistency, and to match the coding style from the rest of the codebase. No functional changes.... push 12 Jul 2025 09:49PM UTC albertito
99.84
16242329862 next test: Group test ip address vars into a single var block This commit groups related IP test address variables into a single var block for improved readability and consistency, and to match the coding style from the rest of the codebase. No functi... push 12 Jul 2025 09:47PM UTC albertito
99.84
See All Builds (608)
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc