-
Notifications
You must be signed in to change notification settings - Fork 616
Incorrectly formatted FQDN's to googleapis.com #2213
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
Comments
PR #2214 opened |
Hi @ericuldall, I am not going to make the change suggested in #2214 for the reasons I covered there. However, you can continue to use this in your own implementation by specifying your new BigTable({ baseUrl: '...' }); |
I understand your concerns. I would highly suggest putting a warning for people using this library in a kubernetes cluster with a large number of http requests as the internal kube-dns will drop lots of requests without the trailing dot. This is because in the kubernetes resolve.conf they use a large number of ndots to check for internal services. resolv.conf sample:
One of the main problems is the setting: Another option is to set the pod dnsPolicy, We will move forward creating instances with the overridden |
Hmm, I understand. Let me think on this more and discuss it internally and see if my position changes. (It might.) |
Due to an issue brought up in #2249, we're going to revert this change. |
I've noticed all of the references to the Fully Qualified Domain Name "googleapis.com" are incorrectly formatted. Per RFC 1034 FQDN's should have a trailing dot in order to remove any ambiguity and unnecessary lookups.
Explanatory documentation HERE
We were pointed to this doc by a Kubernetes network engineer at Google after having many DNS lookup issues inside of our GKE clusters. After running some tests we noticed a minimum 100ms improvement per request after adding the trailing dot.
I have a PR ready that I will post for review.
The text was updated successfully, but these errors were encountered: