From ac075d1b0062cd90a3ce28073350f2eca198bc4c Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Sat, 21 Feb 2026 09:02:09 +0100 Subject: [PATCH] Add Google as a DNS provider option --- bin/omarchy-setup-dns | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/bin/omarchy-setup-dns b/bin/omarchy-setup-dns index ccd9f9f6..b72e9458 100755 --- a/bin/omarchy-setup-dns +++ b/bin/omarchy-setup-dns @@ -24,7 +24,7 @@ unlock_dns_to_dhcp() { } if [[ -z $1 ]]; then - dns=$(gum choose --height 5 --header "Select DNS provider" Cloudflare DHCP Custom) + dns=$(gum choose --height 6 --header "Select DNS provider" Cloudflare Google DHCP Custom) else dns=$1 fi @@ -40,6 +40,16 @@ EOF lock_dns_to_resolved ;; +Google) + sudo tee /etc/systemd/resolved.conf >/dev/null <<'EOF' +[Resolve] +DNS=8.8.8.8#dns.google 8.8.4.4#dns.google +FallbackDNS=9.9.9.9 149.112.112.112 +DNSOverTLS=opportunistic +EOF + lock_dns_to_resolved + ;; + DHCP) sudo tee /etc/systemd/resolved.conf >/dev/null <<'EOF' [Resolve]