stubby: add uci support to init file
[feed/packages.git] / net / stubby / files / stubby.yml
1 # Note: by default on OpenWRT stubby configuration is handled via
2 # the UCI system and the file /etc/config/stubby. If you want to
3 # use this file to configure stubby, then set "option manual '1'"
4 # in /etc/config/stubby.
5 resolution_type: GETDNS_RESOLUTION_STUB
6 round_robin_upstreams: 1
7 appdata_dir: "/var/lib/stubby"
8 tls_authentication: GETDNS_AUTHENTICATION_REQUIRED
9 tls_query_padding_blocksize: 128
10 edns_client_subnet_private: 1
11 idle_timeout: 10000
12 listen_addresses:
13 - 127.0.0.1@5453
14 - 0::1@5453
15 dns_transport_list:
16 - GETDNS_TRANSPORT_TLS
17 upstream_recursive_servers:
18 - address_data: 2606:4700:4700::1111
19 tls_auth_name: "cloudflare-dns.com"
20 - address_data: 2606:4700:4700::1111
21 tls_auth_name: "cloudflare-dns.com"
22 - address_data: 1.1.1.1
23 tls_auth_name: "cloudflare-dns.com"
24 - address_data: 1.0.0.1
25 tls_auth_name: "cloudflare-dns.com"