Skip to content

Remove InternalResolutionResult from DnsNameResolver#12683

Open
ejona86 wants to merge 1 commit intogrpc:masterfrom
ejona86:modernize-dns
Open

Remove InternalResolutionResult from DnsNameResolver#12683
ejona86 wants to merge 1 commit intogrpc:masterfrom
ejona86:modernize-dns

Conversation

@ejona86
Copy link
Member

@ejona86 ejona86 commented Mar 10, 2026

The internal result was needed before 90d0fab allowed addresses to fail yet still provide attributes and service config. Now the code can just use the regular API.

This does cause a behavior change where TXT records are looked up even if address lookup failed, however that's actually what we wanted to allow in 90d0fab by adding the new API. Also, the TXT code was added in 2017 and it's now 2026 yet it is still disabled, so it's unlikely to matter soon.

The internal result was needed before 90d0fab allowed addresses to
fail yet still provide attributes and service config. Now the code can
just use the regular API.

This does cause a behavior change where TXT records are looked up even
if address lookup failed, however that's actually what we wanted to
allow in 90d0fab by adding the new API. Also, the TXT code was added
in 2017 and it's now 2026 yet it is still disabled, so it's unlikely to
matter soon.
@ejona86 ejona86 requested a review from kannanjgithub March 10, 2026 01:35
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.

2 participants