You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

66 lines
2.9 KiB

  1. config stubby 'global'
  2. option manual '0'
  3. option trigger 'wan'
  4. # option triggerdelay '2'
  5. list dns_transport 'GETDNS_TRANSPORT_TLS'
  6. option tls_authentication '1'
  7. option tls_query_padding_blocksize '128'
  8. # option tls_connection_retries '2'
  9. # option tls_backoff_time '3600'
  10. # option timeout '5000'
  11. # option dnssec_return_status '0'
  12. option appdata_dir '/var/lib/stubby'
  13. # option trust_anchors_backoff_time 2500
  14. # option dnssec_trust_anchors '/var/lib/stubby/getdns-root.key'
  15. option edns_client_subnet_private '1'
  16. option idle_timeout '10000'
  17. option round_robin_upstreams '1'
  18. list listen_address '127.0.0.1@5453'
  19. list listen_address '0::1@5453'
  20. # option log_level '7'
  21. # option command_line_arguments ''
  22. # option tls_cipher_list 'EECDH+AESGCM:EECDH+CHACHA20'
  23. # option tls_ciphersuites 'TLS_AES_256_GCM_SHA384:TLS_CHACHA20_POLY1305_SHA256:TLS_AES_128_GCM_SHA256'
  24. # option tls_min_version '1.2'
  25. # option tls_max_version '1.3'
  26. # Upstream resolvers are specified using 'resolver' sections.
  27. config resolver
  28. option address '2606:4700:4700::1111'
  29. option tls_auth_name 'cloudflare-dns.com'
  30. # option tls_port 853
  31. # list spki 'sha256/yioEpqeR4WtDwE9YxNVnCEkTxIjx6EEIwFSQW+lJsbc='
  32. # option tls_cipher_list 'EECDH+AESGCM:EECDH+CHACHA20'
  33. # option tls_ciphersuites 'TLS_AES_256_GCM_SHA384:TLS_CHACHA20_POLY1305_SHA256:TLS_AES_128_GCM_SHA256'
  34. # option tls_min_version '1.2'
  35. # option tls_max_version '1.3'
  36. config resolver
  37. option address '2606:4700:4700::1001'
  38. option tls_auth_name 'cloudflare-dns.com'
  39. # option tls_port 853
  40. # list spki 'sha256/yioEpqeR4WtDwE9YxNVnCEkTxIjx6EEIwFSQW+lJsbc='
  41. # option tls_cipher_list 'EECDH+AESGCM:EECDH+CHACHA20'
  42. # option tls_ciphersuites 'TLS_AES_256_GCM_SHA384:TLS_CHACHA20_POLY1305_SHA256:TLS_AES_128_GCM_SHA256'
  43. # option tls_min_version '1.2'
  44. # option tls_max_version '1.3'
  45. config resolver
  46. option address '1.1.1.1'
  47. option tls_auth_name 'cloudflare-dns.com'
  48. # option tls_port 853
  49. # list spki 'sha256/yioEpqeR4WtDwE9YxNVnCEkTxIjx6EEIwFSQW+lJsbc='
  50. # option tls_cipher_list 'EECDH+AESGCM:EECDH+CHACHA20'
  51. # option tls_ciphersuites 'TLS_AES_256_GCM_SHA384:TLS_CHACHA20_POLY1305_SHA256:TLS_AES_128_GCM_SHA256'
  52. # option tls_min_version '1.2'
  53. # option tls_max_version '1.3'
  54. config resolver
  55. option address '1.0.0.1'
  56. option tls_auth_name 'cloudflare-dns.com'
  57. # option tls_port 853
  58. # list spki 'sha256/yioEpqeR4WtDwE9YxNVnCEkTxIjx6EEIwFSQW+lJsbc='
  59. # option tls_cipher_list 'EECDH+AESGCM:EECDH+CHACHA20'
  60. # option tls_ciphersuites 'TLS_AES_256_GCM_SHA384:TLS_CHACHA20_POLY1305_SHA256:TLS_AES_128_GCM_SHA256'
  61. # option tls_min_version '1.2'
  62. # option tls_max_version '1.3'