dataset/seed/nsd/dictionaries/20_nsd.xml

115 lines
5.4 KiB
XML
Raw Normal View History

2022-03-08 19:42:28 +01:00
<?xml version='1.0' encoding='UTF-8'?>
<rougail version="0.10">
<services>
<service name="nsd" target="multi-user">
<override/>
<ip ip_type="variable">nsd_allowed_all_client</ip>
<file>/etc/nsd/conf.d/risotto.conf</file>
2022-08-18 10:19:43 +02:00
<file file_type="variable" source="nsd.zone" variable="nsd_zones" included="content">nsd_zone_filenames</file>
2022-03-08 19:42:28 +01:00
<file file_type="variable" source="nsd.signed" variable="nsd_zone_filenames">nsd_zone_filenames_signed</file>
2022-08-18 10:19:43 +02:00
<file file_type="variable" source="nsd.reverse" variable="nsd_reverse_name" included="content">nsd_reverse_filenames</file>
2022-03-08 19:42:28 +01:00
<file file_type="variable" source="nsd.signed" variable="nsd_reverse_filenames">nsd_reverse_filenames_signed</file>
<file engine="none" source="sysuser-nsd.conf">/sysusers.d/0nsd.conf</file>
<file engine="none" source="tmpfile-nsd.conf">/tmpfiles.d/0nsd.conf</file>
2023-01-17 21:43:32 +01:00
<file filelist="copy_tests">/tests/nsd.yml</file>
2022-03-08 19:42:28 +01:00
</service>
</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-03-08 19:42:28 +01:00
</family>
<family name="dns_server" description="Serveur DNS">
2022-08-18 10:19:43 +02:00
<variable name="nsd_allowed_client" type="domainname" description="Clients" multi="True" mandatory="True" hidden="True" provider="LocalDNS"/>
<variable name="nsd_allowed_client_ip" type="ip" description="Clients" multi="True" mandatory="True" hidden="True"/>
<variable name="nsd_resolver" type="domainname" description="Nom de domaine du résolveur DNS associé" supplier="ExternalDNS"/>
2022-03-08 19:42:28 +01:00
<variable name="nsd_resolve_ip" type="ip" hidden="True"/>
<variable name="nsd_allowed_all_client" type="ip" description="All autorised IP" multi="True" hidden="True"/>
</family>
<family name="dns_zone" description="Zone DNS">
<variable name="nsd_zones" type="domainname" description="Zones DNS" multi="True"/>
</family>
<family name="dns_reverses" description="Zone DNS reverse" leadership="True">
<variable name="nsd_reverse_network" description="Réseau pour la résolution reverse" type="network_cidr" multi="True"/>
2022-08-18 10:19:43 +02:00
<variable name="nsd_reverse_name" description="Nom de la zone" hidden="True"/>
2022-03-08 19:42:28 +01:00
</family>
2022-08-18 10:19:43 +02:00
<variable name="nsd_zones_all" type="domainname" multi="True" supplier="ExternalDNS:authority_zones" hidden="True"/>
2022-03-08 19:42:28 +01:00
<variable name="nsd_zone_filenames" type="filename" description="Nom des fichiers de zone" multi="True" hidden="True"/>
<variable name="nsd_zone_filenames_signed" type="filename" description="Nom des fichiers de zone signé" multi="True" hidden="True"/>
<variable name="nsd_reverse_filenames" type="filename" description="Nom des fichiers de zone reverse" multi="True" hidden="True"/>
<variable name="nsd_reverse_filenames_signed" type="filename" description="Nom des fichiers de zone reverse signé" multi="True" hidden="True"/>
</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">nsd_allowed_client</param>
<target>nsd_allowed_client_ip</target>
</fill>
<fill name="nsd_concat_lists">
<param type="variable">nsd_zones</param>
<param type="variable">nsd_reverse_name</param>
<target>nsd_zones_all</target>
</fill>
2022-03-08 19:42:28 +01:00
<fill name="nsd_concat_lists">
<param type="variable">ip_eth</param>
2022-08-18 10:19:43 +02:00
<param type="variable">nsd_allowed_client_ip</param>
2022-03-08 19:42:28 +01:00
<param type="variable">nsd_resolve_ip</param>
<target>nsd_allowed_all_client</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">nsd_resolver</param>
2022-03-08 19:42:28 +01:00
<target>nsd_resolve_ip</target>
</fill>
<fill name="get_internal_zones">
2022-12-25 17:08:52 +01:00
<param type="variable">zones_list</param>
<param type="information">zones</param>
2022-08-18 10:19:43 +02:00
<target>nsd_zones</target>
2022-03-08 19:42:28 +01:00
</fill>
<fill name="get_reverse_name">
<param type="variable">nsd_reverse_network</param>
2022-08-18 10:19:43 +02:00
<target>nsd_reverse_name</target>
2022-03-08 19:42:28 +01:00
</fill>
<fill name="calc_value">
<param>/etc/nsd/</param>
2022-08-18 10:19:43 +02:00
<param type="variable">nsd_zones</param>
2022-03-08 19:42:28 +01:00
<param>.zone</param>
<param name="join"></param>
<param name="multi" type="boolean">True</param>
<target>nsd_zone_filenames</target>
</fill>
<fill name="calc_value">
<param type="variable">nsd_zone_filenames</param>
<param>.signed</param>
<param name="join"></param>
<param name="multi" type="boolean">True</param>
<target>nsd_zone_filenames_signed</target>
</fill>
<fill name="calc_value">
<param>/etc/nsd/</param>
2022-08-18 10:19:43 +02:00
<param type="variable">nsd_reverse_name</param>
2022-03-08 19:42:28 +01:00
<param>reverse</param>
<param name="join"></param>
<param name="multi" type="boolean">True</param>
<target>nsd_reverse_filenames</target>
</fill>
<fill name="calc_value">
<param type="variable">nsd_reverse_filenames</param>
<param>.signed</param>
<param name="join"></param>
<param name="multi" type="boolean">True</param>
<target>nsd_reverse_filenames_signed</target>
</fill>
<fill name="get_zones_info">
2022-12-25 17:08:52 +01:00
<param type="information">zones</param>
2022-03-08 19:42:28 +01:00
<param>network</param>
2022-12-25 17:08:52 +01:00
<param type="variable" name="zone_names">zones_list</param>
2022-03-08 19:42:28 +01:00
<target>nsd_reverse_network</target>
</fill>
</constraints>
</rougail>