2022-03-08 19:42:28 +01:00
<?xml version="1.0" encoding="utf-8"?>
<rougail version= "0.10" >
<services >
<!-- FIXME activer le timer ? -->
<service name= 'unbound' target= "multi-user" >
<ip ip_type= 'variable' > unbound_allowed_client</ip>
2023-06-23 08:12:05 +02:00
<override engine= "none" />
<file engine= "ansible" > /etc/unbound/conf.d/risotto.conf</file>
<file engine= "ansible" > /etc/unbound/unbound.conf</file>
2022-03-08 19:42:28 +01:00
<file engine= "none" source= "sysuser-unbound.conf" > /sysusers.d/0unbound.conf</file>
<file engine= "none" source= "tmpfile-unbound.conf" > /tmpfiles.d/0unbound.conf</file>
</service>
<service name= 'unbound-anchor' >
2023-06-23 08:12:05 +02:00
<override engine= "none" />
2022-03-08 19:42:28 +01:00
</service>
<service name= 'unbound-keygen' disabled= "True" />
</services>
<variables >
2022-06-24 19:00:16 +02:00
<family name= "network" >
2023-08-11 09:38:05 +02:00
<variable name= "dns_client_address" redefine= "True" disabled= "True" supplier= "" />
2022-03-08 19:42:28 +01:00
<variable name= "ip_dns" redefine= "True" remove_fill= "True" />
2022-06-29 11:44:01 +02:00
<variable name= "outgoing_ports" redefine= "True" >
<value > udp:53</value>
<value > 53</value>
</variable>
2022-03-08 19:42:28 +01:00
</family>
<family name= 'dns_resolver' description= 'Résolveur DNS' >
<family name= "forward_zones" description= "Serveur DNS faisant autorité sur une zone particulière" leadership= "True" hidden= "True" >
2023-08-11 09:38:05 +02:00
<variable name= "unbound_forward_address" description= "DNS forwarder for all DNS zones" help= "This provider is able to answer query for external and internal domain name" provider= "ExternalDNS" multi= "True" hidden= "True" />
<variable name= "unbound_forward_zones" description= "Local DNS server can export own authority zones" type= "domainname" multi= "True" provider= "ExternalDNS:authority_zones" hidden= "True" />
2022-12-25 17:08:52 +01:00
<variable name= "unbound_allowed_client" type= "ip" hidden= "True" />
2022-03-08 19:42:28 +01:00
</family>
2023-08-02 09:26:54 +02:00
<variable name= "unbound_default_forwards" description= "Serveur résolveur DNS par défaut" multi= "True" mandatory= "True" test= "9.9.9.9" />
2022-03-08 19:42:28 +01:00
</family>
</variables>
<constraints >
<fill name= "calc_value" >
<param type= "variable" > ip_eth0</param>
<target > ip_dns</target>
</fill>
2022-08-18 10:19:43 +02:00
<fill name= "get_ip" >
2022-12-25 17:08:52 +01:00
<param type= "information" > zones</param>
2022-08-18 10:19:43 +02:00
<param type= "variable" > unbound_forward_address</param>
<target > unbound_allowed_client</target>
</fill>
2022-03-08 19:42:28 +01:00
</constraints>
</rougail>