DNS alternative

Rating: 
0
No votes yet

A DNS alternative system with support for encrypted DNS protocols and blocklist.

Version:    0.9

A package that combine connman, dnsmasq and dnscrypt-proxy into one comprehensive DNS system. A CHUM repository should be enabled to install a dnsmasq package.

Configuration files

/etc/dnsmasq.d/dnscrypt-proxy.conf       - enables dnsmasq as DNS server (@127.0.0.1) and redirects requests for external names to dnscrypt-proxy (@127.0.0.53)
/etc/dnsmasq.d/dns-cache.conf            - enables DNS cache for dnsmasq
/etc/systemd/system/connman.service.d/override.conf - disables /etc/resolv.conf management in Connamn
/etc/resolv.conf - sets a DNS server to 127.0.0.1
/var/lib/dnscrypt-proxy/dnscrypt-proxy.toml.dnsmasq - changes dnscrypt-proxy to address to 127.0.0.53 after renaming to .toml

A script to restore DNS settings and revert phone to default state.
/usr/local/bin/fix_dns_and_restore_to_default.sh

Uninstalling a DNS alternative package reverts default DNS service as well.

Emergency manual recovery procedure:
rm -f /etc/systemd/system/connman.service.d/override.conf
systemctl stop dnsmasq
systemctl disable dnsmasq
systemctl restart connman

That package should set DNS and /etc/hosts usage for AlienDalvik as well.
 

Application versions: 
AttachmentSizeDate
File harbour-dns-alternative-0.9-1.aarch64.rpm30.47 KB19/02/2023 - 14:59
Changelog: 

- first release to openrepos