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

rm-hull / dot-block
51%
main: 43%

Build:
Build:
LAST BUILD BRANCH: dependabot/go_modules/github.com/miekg/dns-1.1.72
DEFAULT BRANCH: main
Repo Added 04 Nov 2025 11:40PM UTC
Token cvDVr9xcMoQ9KcOEGYMi4bscx67euTREm regen
Build 187 Last
Files 18
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 refactor/handle-multiple-questions
branch: refactor/handle-multiple-questions
CHANGE BRANCH
x
Reset
Sync Branches
  • refactor/handle-multiple-questions
  • chore/correct-package-name
  • chore/slog
  • chore/update-deps
  • dependabot/github_actions/actions/cache-5
  • dependabot/github_actions/actions/checkout-6
  • dependabot/github_actions/actions/upload-artifact-6
  • dependabot/github_actions/golangci/golangci-lint-action-9
  • dependabot/github_actions/mikepenz/action-junit-report-6
  • dependabot/go_modules/github.com/axiomhq/hyperloglog-0.2.6
  • dependabot/go_modules/github.com/getsentry/sentry-go-0.37.0
  • dependabot/go_modules/github.com/getsentry/sentry-go-0.38.0
  • dependabot/go_modules/github.com/getsentry/sentry-go-0.39.0
  • dependabot/go_modules/github.com/getsentry/sentry-go-0.40.0
  • dependabot/go_modules/github.com/getsentry/sentry-go-0.41.0
  • dependabot/go_modules/github.com/getsentry/sentry-go/gin-0.37.0
  • dependabot/go_modules/github.com/getsentry/sentry-go/gin-0.38.0
  • dependabot/go_modules/github.com/getsentry/sentry-go/gin-0.39.0
  • dependabot/go_modules/github.com/getsentry/sentry-go/gin-0.40.0
  • dependabot/go_modules/github.com/getsentry/sentry-go/gin-0.41.0
  • dependabot/go_modules/github.com/miekg/dns-1.1.69
  • dependabot/go_modules/github.com/miekg/dns-1.1.72
  • dependabot/go_modules/github.com/rm-hull/godx-0.0.10
  • dependabot/go_modules/github.com/rm-hull/godx-0.0.7
  • dependabot/go_modules/github.com/rm-hull/godx-0.0.8
  • dependabot/go_modules/github.com/samber/slog-gin-1.19.1
  • dependabot/go_modules/github.com/spf13/cobra-1.10.2
  • dependabot/go_modules/github.com/tavsec/gin-healthcheck-1.7.12
  • dependabot/go_modules/golang.org/x/crypto-0.44.0
  • dependabot/go_modules/golang.org/x/crypto-0.45.0
  • dependabot/go_modules/golang.org/x/crypto-0.46.0
  • dependabot/go_modules/golang.org/x/net-0.47.0
  • dependabot/go_modules/golang.org/x/net-0.48.0
  • dependabot/go_modules/golang.org/x/net-0.49.0
  • feat/acme-DNS-01-challenge
  • feat/cache-reaper
  • feat/dns-listener
  • feat/geoblock
  • feat/mobileconfig
  • feat/multiple-blocklists
  • feat/reduce-info-level-logging
  • feat/reload
  • feat/reload-blocklist
  • feat/sentry-integration
  • feat/top-blocked-domains
  • feat/top-domains
  • feat/upstream-latency
  • feat/upstream-ttl-metrics
  • fix/improved-error-reporting
  • main
  • refactor/error-wrap
  • refactor/log-adapters
  • testing/integration

05 Nov 2025 08:59PM UTC coverage: 50.564% (+6.8%) from 43.75%
19116119743

Pull #3

github

rm-hull
fix: Fix DNS cache logic and use Fqdn names

Ensures that DNS names used for caching keys are always fully qualified
using `dns.Fqdn()`. This prevents mismatches when caching results for
names that may or may not implicitly include the trailing dot.

Additionally, this simplifies how the cache TTL is determined. We now
strictly use the TTL provided by the upstream response header, removing
complex logic involving `defaultTTL`.
Pull Request #3: refactor: Refactor DNS handling for granular cache

100 of 111 new or added lines in 1 file covered. (90.09%)

3 existing lines in 1 file now uncovered.

224 of 443 relevant lines covered (50.56%)

0.54 hits per line

Relevant lines Covered
Build:
Build:
443 RELEVANT LINES 224 COVERED LINES
0.54 HITS PER LINE
Source Files on refactor/handle-multiple-questions
  • Tree
  • List 6
  • 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
19116119743 refactor/handle-multiple-questions fix: Fix DNS cache logic and use Fqdn names Ensures that DNS names used for caching keys are always fully qualified using `dns.Fqdn()`. This prevents mismatches when caching results for names that may or may not implicitly include the trailing do... Pull #3 05 Nov 2025 08:59PM UTC rm-hull github
50.56
19115631756 refactor/handle-multiple-questions test: Refactor DNS tests using local mock server helpers This commit significantly refactors the DNS dispatcher unit tests to use dedicated, isolated local mock DNS servers managed by new helper functions (`startLocalDNS`, `dnsRecord`, and `waitF... Pull #3 05 Nov 2025 08:39PM UTC rm-hull github
50.79
19098872930 refactor/handle-multiple-questions fix: Use SOA record for blocked DNS queries This updates how blocked DNS queries are handled to provide a more compliant NXDOMAIN response signaling mechanism. Previously, a separate function handled NXDOMAIN responses based on whether all queri... Pull #3 05 Nov 2025 10:25AM UTC rm-hull github
46.0
19087307007 refactor/handle-multiple-questions feat: Send SOA record with NXDOMAIN response Refactor DNS blocking logic into a dedicated helper function, `sendNXDOMAIN`. When a query is fully blocked, the response now includes a Service of Authority (SOA) record in the authority section, alo... Pull #3 05 Nov 2025 12:35AM UTC rm-hull github
47.06
19087045385 refactor/handle-multiple-questions test: Fix assertions for multiple DNS questions Removes temporary assertions checking for incorrect NXDOMAIN behavior in `TestDNSDispatcher_HandleDNSRequest_MultipleQuestions`. The test now correctly asserts that a successful response (`dns.Rcod... Pull #3 05 Nov 2025 12:21AM UTC rm-hull github
43.4
See All Builds (187)

Badge your Repo: dot-block

We detected this repo isn’t badged! Grab the embed code to the right, add it to your repo to show off your code coverage, and when the badge is live hit the refresh button to remove this message.

Could not find badge in README.

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

Refresh
  • Settings
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc