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

Support termux , DNS resolv #463

Closed
nanqic opened this issue Apr 16, 2024 · 2 comments · Fixed by #464
Closed

Support termux , DNS resolv #463

nanqic opened this issue Apr 16, 2024 · 2 comments · Fixed by #464

Comments

@nanqic
Copy link

nanqic commented Apr 16, 2024

In termux the DNS file in $PREFIX/etc/resolv.conf .

So got error when run oha in termux :

Error: DNS: failed to load /etc/resolv.conf

Caused by:
    io error: No such file or directory (os error 2)

May you fit it in termux ? Thank you.

@hatoo
Copy link
Owner

hatoo commented Apr 16, 2024

Hi! This is really great issue!

I've implemented something on #464

Could you try on your side?
If you don't want to build oha yourself, you can download a binary from https://github.com/hatoo/oha-release-test/releases/tag/v1.4.4-termux-2

@nanqic
Copy link
Author

nanqic commented Apr 16, 2024

Wow, it works! Thanks a lot for this awesome project!

@nanqic nanqic closed this as completed Apr 16, 2024
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 a pull request may close this issue.

2 participants