Skip to content

Conversation

@enjoy-binbin
Copy link
Contributor

This PR, we added -4 and -6 options to redis-cli to determine
IPV4 / IPV6 priority in DNS lookup.
This was mentioned in #11151 (comment)

For now it's only used in CLUSTER MEET.

The options also made it possible to reliably test dns lookup in CI,
using this option, we can add some localhost tests for #11151.

The commit was cherry-picked from #11151, back then we decided to split the PR.

enjoy-binbin and others added 4 commits September 25, 2022 09:01
…-cli adding -4 and -6 options

Co-authored-by: Viktor Söderqvist <viktor.soderqvist@est.tech>
Co-authored-by: Yossi Gottlieb <yossigo@gmail.com>
Co-authored-by: Viktor Söderqvist <viktor.soderqvist@est.tech>
@hwware
Copy link
Contributor

hwware commented Sep 28, 2022

I do not review the codes, but I have one question first, the option "-4" or "-6" is mandatory or there is another option without argument.
When there is no argument, it is equal to “-4” ? Thanks

@enjoy-binbin
Copy link
Contributor Author

They are all optional, when not passed in, the effect is the same as before

@yossigo yossigo added the release-notes indication that this issue needs to be mentioned in the release notes label Dec 24, 2023
@yossigo yossigo merged commit 09e0d33 into redis:unstable Dec 24, 2023
@enjoy-binbin enjoy-binbin deleted the redis_cli_4_6_options branch December 25, 2023 01:52
roggervalf pushed a commit to roggervalf/redis that referenced this pull request Feb 11, 2024
…NS lookup (redis#11315)

This PR, we added -4 and -6 options to redis-cli to determine
IPV4 / IPV6 priority in DNS lookup.
This was mentioned in
redis#11151 (comment)

For now it's only used in CLUSTER MEET.

The options also made it possible to reliably test dns lookup in CI,
using this option, we can add some localhost tests for redis#11151.

The commit was cherry-picked from redis#11151, back then we decided to split
the PR.

Co-authored-by: Viktor Söderqvist <viktor.soderqvist@est.tech>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release-notes indication that this issue needs to be mentioned in the release notes

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

5 participants