Skip to content

Instantly share code, notes, and snippets.

@allen0125
Last active January 5, 2026 01:00
Show Gist options
  • Select an option

  • Save allen0125/ba8b7fdb79c242e6f60ca982a87a41e5 to your computer and use it in GitHub Desktop.

Select an option

Save allen0125/ba8b7fdb79c242e6f60ca982a87a41e5 to your computer and use it in GitHub Desktop.
Force-DoH
#!name=Force DoH (Encrypted DNS)
#!desc=Force DNS queries in Surge to use DoH without editing subscription profile.
[General]
encrypted-dns-server = https://dns.alidns.com/dns-query
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment