KIP-602 — Change default value for client.dns.lookup
Accepted Kafka 2.6 Client
Changes the default value of `client.dns.lookup` from `default` to `use_all_dns_ips` so clients automatically try all IP addresses returned by DNS before marking a hostname as unreachable. The previous default tried only the first IP address, causing connection failures when a hostname resolved to multiple IPs and the first IP was unavailable (e.g. during rolling restarts behind a DNS load balancer).
Details
| Author | Badai Aqrandista |
| Status | Accepted |
| Kafka Version | 2.6 |
| JIRA | KAFKA-9313 |
| Wiki | View on Apache Wiki |
| Created | 2020-04-20 |
| Last Modified | 2020-06-04 |
Explore how this KIP affects the Kafka protocol in the Protocol Explorer, or see the full KIP database.