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

dnsimple / erldns / 26228929595
87%

Build:
DEFAULT BRANCH: main
Ran 21 May 2026 01:29PM UTC
Jobs 1
Files 50
Run time 1min
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

21 May 2026 01:27PM UTC coverage: 87.022%. Remained the same
26228929595

push

github

web-flow
Fix CNAME chain truncation at zonecut (#349)

When a CNAME chain in the parent zone terminates at a delegated subzone, `maybe_add_zonecut_records/5` was filtering the answer section by the CNAME target, keeping only CNAMEs whose target crossed the zonecut. Any earlier hop whose target stayed inside the parent zone was dropped, leaving a response with no record matching QNAME — malformed per RFC 1034 §3.6.2.

This PR switches the filter to key off the CNAME owner name: keep every CNAME whose owner sits above the cut. The boundary-crossing CNAME still qualifies (its owner is in the parent zone), and any CNAME whose owner sits below the cut continues to be dropped. The semantic predicate has been the same since `b005ce6` (Dec 2018); the bug surfaces only on chains of ≥ 2 parent-zone CNAMEs ending at a delegated subzone, which the existing `resolve_authoritative_zone_cut_with_cnames` test did not cover.

A CT regression test (`resolve_authoritative_zone_cut_with_cname_chain_through_wildcard`) is added alongside the fix.

Fixes https://github.com/dnsimple/erldnsimple/issues/777

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

2 existing lines in 2 files now uncovered.

1730 of 1988 relevant lines covered (87.02%)

1887.59 hits per line

Coverage Regressions

Lines Coverage ∆ File
1
85.58
-0.96% src/listeners/tcp/erldns_proto_tcp.erl
1
78.4
-0.62% src/pipes/erldns_resolver.erl
Jobs
ID Job ID Ran Files Coverage
1 26228929595.1 21 May 2026 01:29PM UTC 50
87.02
GitHub Action Run
Source Files on build 26228929595
  • Tree
  • List 50
  • Changed 3
  • Source Changed 1
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #26228929595
  • bfff2287 on github
  • Prev Build on main (#25669909884)
  • Next Build on main (#26230037478)
  • Delete
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