The feature you're asking about actually has nothing to do with supporting
grpclb in DNS; it's actually about how to use an alternative DNS server for
I originally added support for specifying an alternative DNS server by IP
address (not hostname) to the c-ares DNS resolver implementation in
https://github.com/grpc/grpc/pull/10706, although there was a bug that
prevented it from working, which I fixed in
https://github.com/grpc/grpc/pull/11954. If your build includes those PRs,
then you should be able to use the c-ares resolver with an alternative DNS
server specified as an IP address.
Note that the c-ares resolver is not currently the default DNS resolver; to
enable it, you need to run with the environment variable
GRPC_DNS_RESOLVER=ares. There are still a few features missing from the
c-ares DNS resolver (such as CNAME resolution and address sorting), which
is why it's not yet the default, but we're working to fix that.
On Tue, Aug 8, 2017 at 2:02 AM, 谭锦彪 <mirendet...@gmail.com> wrote:
> I got "dns_resolver.c:252] authority based dns uri's not
> supported", when use dns like below:
> ChannelArguments args;
> GreeterClient greeter(grpc::CreateCustomChannel(
> grpc::InsecureChannelCredentials(), args));
> So What's your plan to supports this?
> 在 2017年2月1日星期三 UTC+8上午2:30:04，Mark D. Roth写道：
>> I've put together the following gRFC for encoding grpclb data in DNS:
>> As per the gRFC process, please keep discussion in this thread. All
>> comments welcome.
>> Mark D. Roth <ro...@google.com>
>> Software Engineer
>> Google, Inc.
> You received this message because you are subscribed to the Google Groups "
> grpc.io" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to grpc-io+unsubscr...@googlegroups.com.
> To post to this group, send email to firstname.lastname@example.org.
> Visit this group at https://groups.google.com/group/grpc-io.
> To view this discussion on the web visit https://groups.google.com/d/
> For more options, visit https://groups.google.com/d/optout.
Mark D. Roth <r...@google.com>
You received this message because you are subscribed to the Google Groups
To unsubscribe from this group and stop receiving emails from it, send an email
To post to this group, send email to email@example.com.
Visit this group at https://groups.google.com/group/grpc-io.
To view this discussion on the web visit
For more options, visit https://groups.google.com/d/optout.