l

Results 501 comments of l

`ARC-Authentication-Results` is the version of `Authentication-Results` used by mailing lists. ARC refers to Authenticated Received Chain. Almost unrelated, but incorrectly wrapped ARC headers caused problems to Delta Chat previously: #3078

> The "Sent" folder only contains messages sent by classical MUAs; DeltaChat messages are in the "Inbox" or "DeltaChat" folder. As far as I know Gmail puts messages you send...

~Similar problem, also with xdist: https://github.com/deltachat/deltachat-core-rust/actions/runs/4194093763/jobs/7271810435~ EDIT: this turned out to be a bug in our code, not pytest: https://github.com/deltachat/deltachat-core-rust/pull/4153

https://stackoverflow.com/questions/3070144/how-do-you-get-the-current-dns-servers-for-android says `getprop` is not working on some Androids. But trust-dns-resolver can use a ConnectivityManager via [j4rs](https://lib.rs/crates/j4rs). An example of j4rs usage for similar purposes: https://github.com/n0-computer/iroh/pull/825

There are also native APIs in the Android NDK, but they require recent Android API, at least API level 29 in most cases: https://developer.android.com/ndk/reference/group/networking

Here is some documentation on how DNS resolver works in Android: https://source.android.com/docs/core/ota/modular-system/dns-resolver It seems to be possible to learn how to use `/dev/socket/dnsproxyd` directly from Rust and skip Java and...

`dnsproxyd` supports `resolv_res_nsend` which allows to send arbitrary DNS queries: https://android.googlesource.com/platform/packages/modules/DnsResolver/+/refs/heads/main/res_send.h Implementation of the client is here: https://android.googlesource.com/platform/packages/modules/DnsResolver/+/refs/heads/main/res_send.cpp It is similar to classic [res_send](https://linux.die.net/man/3/res_send) interface. resnsend command implementation is here:...

So I used this Python script to generate DNS query with [dnspython](https://dnspython.readthedocs.io/): ``` #!/usr/bin/env python3 from base64 import b64encode import dns.message print(b64encode(dns.message.make_query("github.com", "MX").to_wire())) ``` It prints `b'OTIBAAABAAAAAAAABmdpdGh1YgNjb20AAA8AAQ=='`. Then in Termux...

> I don't think we'd want to send DNS requests via the Android DNS stack -- the issue here (as I understand it) is that we need to find out...

It would be nice to at least switch the default to https://docs.rs/trust-dns-resolver/latest/trust_dns_resolver/config/enum.LookupIpStrategy.html#variant.Ipv4AndIpv6 EDIT: I see there is a reason why it is not used by default: https://github.com/hickory-dns/hickory-dns/pull/1332#issuecomment-751928998 Current default strategy...