Skip to content

scripts: port alpine-conf's setup-proxy and setup-dns#373

Open
TheKingFireS wants to merge 1 commit into
termux:masterfrom
TheKingFireS:master
Open

scripts: port alpine-conf's setup-proxy and setup-dns#373
TheKingFireS wants to merge 1 commit into
termux:masterfrom
TheKingFireS:master

Conversation

@TheKingFireS

Copy link
Copy Markdown

I found it very useful for Termux, so I ported it. I removed some Alpinism things.
I also credited their works.

I tested it and it worked as intended.

scripts: port alpine-conf's setup-proxy and setup-dns
@sylirre

sylirre commented Jul 6, 2026

Copy link
Copy Markdown
Member

Unlike Linux distributions resolv.conf had different usage scope on Termux and works only for programs with internal DNS resolver. Everything else uses Bionic hostname resolution methods.

termux-setup-dns can be very confusing.

Furthermore proxy setup also used only by programs and networking libraries which look up relevant variables. This is not a system standard way of setting up proxy.

@TheKingFireS

Copy link
Copy Markdown
Author

Unlike Linux distributions resolv.conf had different usage scope on Termux and works only for programs with internal DNS resolver. Everything else uses Bionic hostname resolution methods.

termux-setup-dns can be very confusing.

Fair.

Furthermore proxy setup also used only by programs and networking libraries which look up relevant variables. This is not a system standard way of setting up proxy.

Hm, but this is only quicker way to use proxy in Termux as Termux doesn't use Android system's proxy. But I agreed with you.

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.

2 participants