fix: switch to a resolved drop-in

This commit is contained in:
qoijjj
2024-01-22 13:43:25 -08:00
committed by GitHub
parent 3f3e3fdfb1
commit 06f6aa788d
3 changed files with 2 additions and 11 deletions

View File

@@ -1,10 +0,0 @@
#!/usr/bin/env bash
# Tell build process to exit if there are any errors.
set -oue pipefail
# https://wiki.archlinux.org/title/systemd-resolved#DNSSEC
sed -i 's/#DNSSEC=no/DNSSEC=allow-downgrade/' /usr/etc/systemd/resolved.conf
# https://wiki.archlinux.org/title/systemd-resolved#DNS_over_TLS
sed -i 's/#DNSOverTLS=no/DNSOverTLS=opportunistic/' /usr/etc/systemd/resolved.conf