[INFO] Créer le rôle

This commit is contained in:
2023-05-17 13:49:56 +02:00
parent ddb7a1a06a
commit 3d29812f92
6 changed files with 61 additions and 3 deletions

16
templates/stubby.yml.j2 Normal file
View File

@@ -0,0 +1,16 @@
# {{ ansible_managed }}
resolution_type: GETDNS_RESOLUTION_STUB
dns_transport_list:
- GETDNS_TRANSPORT_TLS
tls_authentication: GETDNS_AUTHENTICATION_REQUIRED
tls_query_padding_blocksize: 128
edns_client_subnet_private: 1
round_robin_upstreams: 1
idle_timeout: 10000
listen_addresses:
{{ stubby_listen_addresses | to_nice_yaml(indent=8) }}
upstream_recursive_servers:
{{ stubby_upstream_recursive_servers | to_nice_yaml(indent=2) }}