Fix DNS resolution across Wi-Fi, cellular, USB tethering, and VPNs

- Add NetworkManager rc-manager=file with dnsmasq caching and baseline /etc/resolv.conf, isolate usb0 routes/DNS in USB_Networking.nmconnection, enable loopback in boot runlevel, and guard 90-nm-cloud-setup.sh for OpenRC.
- Rewrite 50-dns-filter.sh to handle dhcp4/dhcp6/dns events, drop BusyBox-invalid logger -i and blocking gateway sleeps, gate IPv6 AAAA filtering on global unicast addresses and accept_ra, and fall back to 1.1.1.1/9.9.9.9 when no upstream DNS is advertised.
- Fix bananarchy-privacy-ctl musl parallel-query leaks (omit 127.0.0.1 in VPN mode, add sync-dns recovery, replace pkill/pgrep), add usb-tether DNS DNAT, rebuild and verify all four a1120 target images and release zips, and add scripts/test-dns-resolution.py.
This commit is contained in:
Luxferre committed 2026-11-18 13:12:11 +02:00
1 parent 6cedcf980c
commit 63ef9299fc
15 files changed
+764 -105

No files matched your search

+5 -1
View File
@@ -83,7 +83,11 @@ Keep this file short. Full details live in `README.md`, `MANUAL.md`, `SDK.md`, `
the sqlite CLI stay excluded.
- Keep power/network behaviour event-driven: `superctl disable sxmo_networkmonitor`, no long `nmcli device monitor`, no
infinite wakelocks, no forced `sxmo.noidle`/`sxmo.nosuspend`, lz4 zram via `/usr/bin/zramstart`, and
`vm.compaction_proactiveness=0`. GPS resolves through `bananarchy-gps-modem.sh`, never `mmcli -m any`.
`vm.compaction_proactiveness=0`. Keep `rc-manager=file` + `dns=dnsmasq` in `20-bananarchy-dns.conf`, baseline
`overlay/rootfs/etc/resolv.conf`, `0600` `USB_Networking.nmconnection` (`never-default=true`, `ignore-auto-dns=true`),
`loopback` in `boot`, non-blocking `50-dns-filter.sh` (`dhcp4-change`/`dhcp6-change`/`dns-change`, no `logger -i` or
`sleep` loops), non-leaking VPN `/etc/resolv.conf` pinning (`bananarchy-privacy-ctl sync-dns` without `127.0.0.1`), and
`scripts/test-dns-resolution.py`. GPS resolves through `bananarchy-gps-modem.sh`, never `mmcli -m any`.
- Keep idle and autostart daemons as compiled C ARM ELF binaries (`bananarchy-lid`, `bananarchy-cover-idle`,
`bananarchy-volume-keys`, `bananarchy-dsds`, `bananarchy-modemmonitor`, `bananarchy-soundmonitor`,
`bananarchy-notifmonitor`, `bananarchy-run-aligned`, `bananarchy-session-loop`), not Python or `/bin/sh` loops.