Skip to content

Conversation

gjacquet
Copy link
Contributor

@gjacquet gjacquet commented Aug 1, 2025

1. Why is this pull request needed and what does it do?

Hostname for an IPV6 address can be invalid if the address ends with ::.

2. Which issues (if any) are related?

Fixes: #7430

3. Which documentation changes (if any) need to be made?

4. Does this introduce a backward incompatible change or deprecation?

Generated hostname will be different if IP address ends with ::.

Generate valid hostname from IPv6 when the address ends with `::`.

Signed-off-by: Guillaume Jacquet <guillaume.jacquet@gmail.com>
Copy link
Collaborator

@SuperQ SuperQ left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

Copy link

codecov bot commented Aug 2, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 59.77%. Comparing base (93c57b6) to head (8bc38be).
⚠️ Report is 1543 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #7431      +/-   ##
==========================================
+ Coverage   55.70%   59.77%   +4.07%     
==========================================
  Files         224      273      +49     
  Lines       10016    18033    +8017     
==========================================
+ Hits         5579    10780    +5201     
- Misses       3978     6622    +2644     
- Partials      459      631     +172     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@yongtang yongtang merged commit 1025a19 into coredns:master Aug 4, 2025
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Invalid records for endpoint for IPv6 targets
3 participants