Skip to content
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

Add an option to resolve IP address over IPv4 only #335

Open
vincentbernat opened this issue Aug 23, 2021 · 1 comment
Open

Add an option to resolve IP address over IPv4 only #335

vincentbernat opened this issue Aug 23, 2021 · 1 comment

Comments

@vincentbernat
Copy link

Hey!

When providing my own RESOLVE_URL, there is no way to tell the resolution should be done over IPv4 only. Notably, I was not able to specify WGET_CMD as /usr/bin/wget -4. Either we could add a WGET_OPTIONS for arbitrary wget options or add a specific option to force IPv4 for resolution.

Thanks.

@Seb35
Copy link
Contributor

Seb35 commented Oct 17, 2023

I had this issue too. I ended with a trick:

  • create a script /usr/local/lib/extra/wget4 containing /usr/bin/wget -4 $*
  • chmod +x /usr/local/lib/extra/wget4
  • set WGET_CMD to /usr/local/lib/extra/wget4

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

No branches or pull requests

2 participants