Skip to content

Instantly share code, notes, and snippets.

@nalakawula
Created August 19, 2024 08:36
Show Gist options
  • Save nalakawula/75f624dfdca38f1e621a7038f9986e62 to your computer and use it in GitHub Desktop.
Save nalakawula/75f624dfdca38f1e621a7038f9986e62 to your computer and use it in GitHub Desktop.
/etc/stubby/stubby.yml
resolution_type: GETDNS_RESOLUTION_STUB
dns_transport_list:
- GETDNS_TRANSPORT_TLS
# - GETDNS_TRANSPORT_TCP
tls_authentication: GETDNS_AUTHENTICATION_REQUIRED
tls_query_padding_blocksize: 128
edns_client_subnet_private: 1
round_robin_upstreams: 1
idle_timeout: 10000
listen_addresses:
- 127.0.0.100
- 0::100
upstream_recursive_servers:
- address_data: 94.140.14.14
tls_auth_name: "dns.adguard-dns.com"
- address_data: 94.140.15.15
tls_auth_name: "dns.adguard-dns.com"
- address_data: 2a10:50c0::ad1:ff
tls_auth_name: "dns.adguard-dns.com"
- address_data: 2a10:50c0::ad2:ff
tls_auth_name: "dns.adguard-dns.com"
@nalakawula
Copy link
Author

explanation from ChatGPT

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment