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>
<override />
<file > /etc/unbound/conf.d/risotto.conf</file>
<file > /etc/unbound/unbound.conf</file>
<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' >
<override />
</service>
<service name= 'unbound-keygen' disabled= "True" />
</services>
<variables >
2022-06-24 19:00:16 +02:00
<family name= "network" >
2022-03-08 19:42:28 +01:00
<variable name= "dns_client_address" redefine= "True" disabled= "True" />
<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" >
2022-08-18 10:19:43 +02:00
<variable name= "unbound_forward_address" description= "Adresse du serveur faisant autorité" provider= "ExternalDNS" multi= "True" />
<variable name= "unbound_forward_zones" type= "domainname" description= "Nom de domaine de la zone" multi= "True" provider= "ExternalDNS:authority_zones" />
<variable name= "unbound_forward_reverse_zones" type= "domainname" description= "Nom de domaine de la zone" multi= "True" provider= "ExternalDNS:reverse_authority_zones" />
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>
2022-08-18 10:19:43 +02:00
<variable name= "unbound_default_forwards" description= "Serveur résolveur DNS par défaut" multi= "True" mandatory= "True" />
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>