What language is your client written in? Java, C++ or Go? For GO, there are two ways to get list of IP addresses for a FQDN Name.
IIRC, one of the implementations for resolver is via a syscall and other one is via a Go's stdlib. You might want to double check on behavior if that is GO. On Thursday, 18 August 2016 16:20:34 UTC-7, Abhishek Parmar wrote: > > (Replying for Yaz, he is on vacation) > > On Thu, Aug 18, 2016 at 4:15 PM, <[email protected] <javascript:>> wrote: > >> Steps 4 and 5 should be interchanged I think. >> > > You mean 3 and 4 should be swapped? I don't think it matters. > > >> >> What does host foo.example.com results in, on your computer? >> >> Are you running your code on a Linux box or some other environment? >> > > It is running on linux. > > >> >> Thanks, >> >> On Wednesday, 17 August 2016 13:49:21 UTC-7, Yaz Saito wrote: >>> >>> Assume we have foo.example.com, whose value changes unpredictably. >>> >>> 1. Initially, the A record of foo.example.com points to, say 1.2.3.4. >>> 2. Start a grpc client, with the server pointed at foo.example.com:10000. >>> The client fails to >>> connect since there's nothing running at 1.2.3.4:10000. >>> 3. Start a grpc server at an IP address 1.2.3.5:10000. >>> 4. Update the DNS server so that foo.example.com points to 1.2.3.5. >>> >>> In this situation, the grpc client never seems to discover the server at >>> 1.2.3.5, even when I set the DNS TTL very short. >>> >>> Am I diagnosing the problem correct? And if so, is there a way to work >>> around? >>> >>> -- >>> yaz >>> >> -- >> 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 [email protected] <javascript:>. >> To post to this group, send email to [email protected] >> <javascript:>. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/grpc-io/f20ea25a-0487-4907-adb4-59f58791aff5%40googlegroups.com >> >> <https://groups.google.com/d/msgid/grpc-io/f20ea25a-0487-4907-adb4-59f58791aff5%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> >> For more options, visit https://groups.google.com/d/optout. >> > > > > -- > -Abhishek > > -- 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 [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/grpc-io/b7a72b7a-1d4c-4e7c-b016-508e0ac76841%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
