Skip to content

ZOOKEEPER-2858. Disable reverse DNS lookup for java client - #2316

Closed
anmolnar wants to merge 5 commits into
apache:masterfrom
anmolnar:ZOOKEEPER-2858
Closed

anmolnar wants to merge 5 commits into
apache:masterfrom
anmolnar:ZOOKEEPER-2858

Conversation

@anmolnar

@anmolnar anmolnar commented Sep 22, 2025 •

Copy link
Copy Markdown
Contributor

Inspired by the same property that was implemented in Apache HBase for the same purpose.

Disable reverse DNS lookups by default for both quorum and client protocols to be consistent. This should be safe from backward compatibility perspective in a new major (minor?) version if we cut 4.0.0 from master soon. In a branch-3.9 backport we should enable reverse lookup in the quorum protocol by default to support smooth transition.

@anmolnar
anmolnar requested a review from eolivelli September 23, 2025 22:17
@onmywaytoheaven

Copy link
Copy Markdown

Hi @anmolnar , to me the patch looks good and provides effective mitigation 👍🏼

@anmolnar

Copy link
Copy Markdown
Contributor Author

@eolivelli @kezhuw please review.

@kezhuw kezhuw left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shall we create a dedicated jira for this ? ZOOKEEPER-2858 talked about sasl part.

@anmolnar

anmolnar commented Oct 6, 2025

Copy link
Copy Markdown
Contributor Author

Shall we create a dedicated jira for this ? ZOOKEEPER-2858 talked about sasl part.

Oh, my bad sorry. Let me create a separate Jira ticket and update pull request.

@anmolnar

anmolnar commented Oct 6, 2025

Copy link
Copy Markdown
Contributor Author

@kezhuw Please go to #2325

@anmolnar

anmolnar commented Oct 6, 2025

Copy link
Copy Markdown
Contributor Author

@onmywaytoheaven Please move your review to the new pull request: #2325 . Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants