Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DnsResolver is ignoring nameserver from provided url address #2485

Open
MaheshBGajera opened this issue Jul 16, 2024 · 0 comments
Open

DnsResolver is ignoring nameserver from provided url address #2485

MaheshBGajera opened this issue Jul 16, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@MaheshBGajera
Copy link

MaheshBGajera commented Jul 16, 2024

What version of gRPC and what language are you using?

Grpc.Net.Client 2.63.0 and C#

What operating system (Linux, Windows,...) and version?

MacOs

What runtime / compiler are you using (e.g. .NET Core SDK version dotnet --info)

.NET SDK
Version: 8.0.204
Commit: c338c7548c
Workload version: 8.0.200-manifests.a39c3a9c

What did you do?

In order to use DNS based address resolution, I configure Address as
dns://my-dns-server-host:dns-server-port/dns-address-to-be-resolved

What did you expect to see?

I was expecting resolver to make DNS query to name server my-dns-server-host:dns-server-port and resolve services against dns-address-to-be-resolved

What did you see instead?

But it uses OS configured name servers and ignores my-dns-server-host:dns-server-port.

Anything else we should know about your project / environment?

Looking at Golang implementation of gRPC DNS Resolver and it seems to be correctly implementing the same.

@MaheshBGajera MaheshBGajera added the bug Something isn't working label Jul 16, 2024
@MaheshBGajera MaheshBGajera changed the title DnsResolver is ignoring nameserver from provided address DnsResolver is ignoring nameserver from provided url address Jul 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant