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]