Fredrik Fornwall

Results 144 comments of Fredrik Fornwall

Hm, I thought most apps use the android system dns server - only `nmap` and `dnsutils` uses `$PREFIX/etc/resolv.conf`. Does that seem to be correct?

_From @rugk on August 5, 2016 11:48_ `nslookup` does also use the custom resolv.conf. (I only tested it with this utility) However when some tools do it differently this is...

Normally the libc implementation of the resolver uses `/etc/resolv.conf`, but that is not the case for the libc on Android. So having most program using `resolv.conf` is not possible without...

_From @rugk on August 5, 2016 13:46_ > As for nmap and dnsutils (the latter which contains nslookup), perhaps they can be patched to use the system one either by...

_From @glitchphan on September 14, 2016 15:37_ What about nameserver `getprop net.dns1` ?

_From @rugk on September 14, 2016 17:59_ No, this does not work either. In this case it shows a parsing error.

_From @jsainzvela on April 19, 2017 14:23_ Just found out about Termux and I think it is awesome already! :) I have the same problem as depicted in this topic,...

> getprop net.dns1 and getprop net.dns2 returns empty fields on my device This was a [behaviour change in Android 8.0](https://developer.android.com/about/versions/oreo/android-8.0-changes#o-pri) which hides/drop these: > The system properties net.dns1, net.dns2, net.dns3,...

For reference: we transitioned to unix `exec` in https://github.com/fornwall/rust-script/commit/445d9cfa3cabcb2ee9cf37102d3029380db51d31 last year - leaving this open for the Windows part (contributions are welcome, as I don't know much Windows myself).

I have updated the pypi package to 0.12.0 (with https://github.com/termux/termux-create-package/pull/46 applied) now! I have also published https://github.com/termux/termux-apt-repo. Let me know of your pypi accounts and I'll add you as owners...