Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add trailing dot to storage.googleapis.com for full domain qualificat…
…ion (ndots workaround) This CL fully qualifies storage.googleapis.com with trailing dot to prevent libc's ndots search domain resolution. This avoids potential DNS lookup ambiguities and reduces query volume dramatically, especially on Kubernetes. The ndots setting determines how many "dots" a domain name must have before the resolver treats it as a fully qualified domain name (FQDN). If an unqualified domain is used (e.g., "storage.googleapis.com" instead of "storage.googleapis.com."), the resolver will append configured search domains (such as default.svc.cluster.local.), leading to unintended DNS lookups and additional query volume. Adding a trailing dot (e.g., "storage.googleapis.com.") explicitly signals that the domain name is fully qualified. This prevents the resolver from appending search domains and ensures consistent DNS resolution with less query volume. PiperOrigin-RevId: 609005660
- Loading branch information