<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="fr">
	<id>https://doc.ycharbi.fr/index.php?action=history&amp;feed=atom&amp;title=Unbound</id>
	<title>Unbound - Historique des versions</title>
	<link rel="self" type="application/atom+xml" href="https://doc.ycharbi.fr/index.php?action=history&amp;feed=atom&amp;title=Unbound"/>
	<link rel="alternate" type="text/html" href="https://doc.ycharbi.fr/index.php?title=Unbound&amp;action=history"/>
	<updated>2026-06-29T02:16:42Z</updated>
	<subtitle>Historique des versions pour cette page sur le wiki</subtitle>
	<generator>MediaWiki 1.45.3</generator>
	<entry>
		<id>https://doc.ycharbi.fr/index.php?title=Unbound&amp;diff=1516&amp;oldid=prev</id>
		<title>Ycharbi : Ajout d&#039;une astuce pour autoriser un ensemble de sous-domaines dans une liste RPZ</title>
		<link rel="alternate" type="text/html" href="https://doc.ycharbi.fr/index.php?title=Unbound&amp;diff=1516&amp;oldid=prev"/>
		<updated>2024-03-11T18:52:45Z</updated>

		<summary type="html">&lt;p&gt;Ajout d&amp;#039;une astuce pour autoriser un ensemble de sous-domaines dans une liste RPZ&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;fr&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Version précédente&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Version du 11 mars 2024 à 18:52&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l101&quot;&gt;Ligne 101 :&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Ligne 101 :&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Il est à noter que tous les sous-domaines de chaque entrée sont automatiquement pris en compte.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Il est à noter que tous les sous-domaines de chaque entrée sont automatiquement pris en compte.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;{{astuce|Si vous voulez [https://serverfault.com/questions/1104690/how-to-whitelist-domain-in-unbound autoriser] un ensemble de sous-domaines inclus dans un sous-domaine bloqué, vous pouvez utiliser une ligne comportant la syntaxe suivante (exemple pour &#039;&#039;Gmail&#039;&#039;) : &amp;lt;code&amp;gt;local-zone: &quot;l.google.com&quot; always_transparent&amp;lt;/code&amp;gt;.}}&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;syntaxhighlight lang=&amp;quot;nestedtext&amp;quot;&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;syntaxhighlight lang=&amp;quot;nestedtext&amp;quot;&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Ycharbi</name></author>
	</entry>
	<entry>
		<id>https://doc.ycharbi.fr/index.php?title=Unbound&amp;diff=1506&amp;oldid=prev</id>
		<title>Ycharbi : Ajout de la section &quot;Convertir une liste de domaines en RPZ&quot;</title>
		<link rel="alternate" type="text/html" href="https://doc.ycharbi.fr/index.php?title=Unbound&amp;diff=1506&amp;oldid=prev"/>
		<updated>2024-02-10T22:26:49Z</updated>

		<summary type="html">&lt;p&gt;Ajout de la section &amp;quot;Convertir une liste de domaines en RPZ&amp;quot;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;fr&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Version précédente&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Version du 10 février 2024 à 22:26&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l187&quot;&gt;Ligne 187 :&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Ligne 187 :&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* https://lists.nlnetlabs.nl/pipermail/unbound-users/2014-October/003573.html&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* https://lists.nlnetlabs.nl/pipermail/unbound-users/2014-October/003573.html&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* https://unbound.docs.nlnetlabs.nl/en/latest/manpages/unbound.conf.html&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* https://unbound.docs.nlnetlabs.nl/en/latest/manpages/unbound.conf.html&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;=Convertir une liste de domaines en RPZ=&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Il est possible de trouver des listes de domaines générées par des tiers sur Internet ([https://raw.githubusercontent.com/schrebra/Windows.10.DNS.Block.List/main/hosts.txt exemple] d&#039;une liste de domaine utilisés par &#039;&#039;Windows 10&#039;&#039; - [https://github.com/schrebra/Windows.10.DNS.Block.List source]).&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Pour les convertir en fichier de configuration &#039;&#039;RPZ&#039;&#039; avec syntaxe &#039;&#039;Unbound&#039;&#039;, vous pouvez utiliser mon script :&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;syntaxhighlight lang=&quot;bash&quot;&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;#!/bin/bash&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;# Via un fichier distant&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;unbound_rbl_src=$(wget -qO - https://raw.githubusercontent.com/schrebra/Windows.10.DNS.Block.List/main/hosts.txt)&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;# ou via un fichier local&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;# unbound_rbl_src=$(cat /tmp/windows10-rbl.txt)&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;unbound_rbl_dst=&quot;/tmp/windows10-rbl-unbound.conf&quot;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;echo &quot;server:&quot; &amp;gt; &quot;${unbound_rbl_dst}&quot;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;for i in $unbound_rbl_src; do&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;    echo -e &quot;\tlocal-zone: \&quot;${i}\&quot; redirect\n\tlocal-data: \&quot;${i} A 127.0.0.1\&quot;&quot; &amp;gt;&amp;gt; &quot;${unbound_rbl_dst}&quot;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;done &lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;/syntaxhighlight&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Ce fichier sera à placer dans le répertoire des configurations du résolveur &#039;&#039;DNS&#039;&#039; &amp;lt;code&amp;gt;/etc/unbound/unbound.conf.d/&amp;lt;/code&amp;gt; avant rechargement &amp;lt;code&amp;gt;unbound-control reload&amp;lt;/code&amp;gt;.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=Liste RPZ automatique=&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=Liste RPZ automatique=&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Ycharbi</name></author>
	</entry>
	<entry>
		<id>https://doc.ycharbi.fr/index.php?title=Unbound&amp;diff=1505&amp;oldid=prev</id>
		<title>Ycharbi : /* Liste RPZ automatique */ ajout du lien direct vers la RBL de yoyo.org</title>
		<link rel="alternate" type="text/html" href="https://doc.ycharbi.fr/index.php?title=Unbound&amp;diff=1505&amp;oldid=prev"/>
		<updated>2024-02-10T21:03:03Z</updated>

		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;Liste RPZ automatique : &lt;/span&gt; ajout du lien direct vers la RBL de yoyo.org&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;fr&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Version précédente&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Version du 10 février 2024 à 21:03&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l189&quot;&gt;Ligne 189 :&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Ligne 189 :&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=Liste RPZ automatique=&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=Liste RPZ automatique=&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Le site [https://pgl.yoyo.org pgl.yoyo.org] met à jour et publie une liste de domaines à interdire au format &#039;&#039;Unbound&#039;&#039;. Ceci peut être utile afin de filtrer les sites irrespectueux de la vie privée des utilisateurs&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Le site [https://pgl.yoyo.org pgl.yoyo.org] met à jour et publie une &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[https://pgl.yoyo.org/adservers/serverlist.php?hostformat=unbound&amp;amp;showintro=0&amp;amp;mimetype=plaintext &lt;/ins&gt;liste de domaines&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;] &lt;/ins&gt;à interdire au format &#039;&#039;Unbound&#039;&#039;. Ceci peut être utile afin de filtrer les sites irrespectueux de la vie privée des utilisateurs&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{info|De façon générale, il est préférable de laisser ce filtrage être opéré par les utilisateurs eux-même afin de maintenir un [https://www.arcep.fr/nos-sujets/la-neutralite-du-net.html réseau aussi neutre que possible]. Il est important également de considérer l&amp;#039;aspect sécuritaire au fait de récupérer une liste de résolution canonique sur un site tiers. Rien ne garanti que son administrateur (ou un pirate) n&amp;#039;utilisera cette liste pour faire rediriger un site légitime vers une adresse externe et compromettre l&amp;#039;authenticité de vos communications avec celui-ci. Cette solution est à adapter à la situation locale.}}&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{info|De façon générale, il est préférable de laisser ce filtrage être opéré par les utilisateurs eux-même afin de maintenir un [https://www.arcep.fr/nos-sujets/la-neutralite-du-net.html réseau aussi neutre que possible]. Il est important également de considérer l&amp;#039;aspect sécuritaire au fait de récupérer une liste de résolution canonique sur un site tiers. Rien ne garanti que son administrateur (ou un pirate) n&amp;#039;utilisera cette liste pour faire rediriger un site légitime vers une adresse externe et compromettre l&amp;#039;authenticité de vos communications avec celui-ci. Cette solution est à adapter à la situation locale.}}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Ycharbi</name></author>
	</entry>
	<entry>
		<id>https://doc.ycharbi.fr/index.php?title=Unbound&amp;diff=1385&amp;oldid=prev</id>
		<title>Ycharbi : Ajout du résolveur local dans le fichier resolv.conf du serveur</title>
		<link rel="alternate" type="text/html" href="https://doc.ycharbi.fr/index.php?title=Unbound&amp;diff=1385&amp;oldid=prev"/>
		<updated>2022-08-01T14:32:42Z</updated>

		<summary type="html">&lt;p&gt;Ajout du résolveur local dans le fichier resolv.conf du serveur&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;fr&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Version précédente&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Version du 1 août 2022 à 14:32&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l178&quot;&gt;Ligne 178 :&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Ligne 178 :&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Il est également possible de recharger la configuration sans relancer le logiciel. Cela a pour effet de ne pas le faire planter si jamais un fichier de configuration contient une erreur&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Il est également possible de recharger la configuration sans relancer le logiciel. Cela a pour effet de ne pas le faire planter si jamais un fichier de configuration contient une erreur&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  unbound-control reload&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  unbound-control reload&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Enfin, il est possible de configurer le système du serveur pour utiliser notre résolveur local et ne pas dépendre d&#039;un résolveur de plus haut niveau (celui de notre &#039;&#039;FAI&#039;&#039; par exemple)&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; echo &quot;nameserver 127.0.0.1&quot; &amp;gt; /etc/resolv.conf&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Sources de la section==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Sources de la section==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Ycharbi</name></author>
	</entry>
	<entry>
		<id>https://doc.ycharbi.fr/index.php?title=Unbound&amp;diff=1383&amp;oldid=prev</id>
		<title>Ycharbi : Page créée avec « Category:Service_dns  [https://www.nlnetlabs.nl/projects/unbound/about/ Unbound] est un serveur &#039;&#039;DNS&#039;&#039; faisant office de résolveur récursif et pouvant faire autorité sur des domaines locaux. Il est développé par [https://www.nlnetlabs.nl/ NLnet Labs] et se veut à la fois complet en fonctionnalité, léger (grâce à la modularité de ces dernières) et simple à configurer.  =Installation et configuration= Installation du service avec une &#039;&#039;Debian Bullseye... »</title>
		<link rel="alternate" type="text/html" href="https://doc.ycharbi.fr/index.php?title=Unbound&amp;diff=1383&amp;oldid=prev"/>
		<updated>2022-07-30T15:06:55Z</updated>

		<summary type="html">&lt;p&gt;Page créée avec « &lt;a href=&quot;/index.php/Cat%C3%A9gorie:Service_dns&quot; title=&quot;Catégorie:Service dns&quot;&gt;Category:Service_dns&lt;/a&gt;  [https://www.nlnetlabs.nl/projects/unbound/about/ Unbound] est un serveur &amp;#039;&amp;#039;DNS&amp;#039;&amp;#039; faisant office de résolveur récursif et pouvant faire autorité sur des domaines locaux. Il est développé par [https://www.nlnetlabs.nl/ NLnet Labs] et se veut à la fois complet en fonctionnalité, léger (grâce à la modularité de ces dernières) et simple à configurer.  =Installation et configuration= Installation du service avec une &amp;#039;&amp;#039;Debian Bullseye... »&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Nouvelle page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;[[Category:Service_dns]]&lt;br /&gt;
&lt;br /&gt;
[https://www.nlnetlabs.nl/projects/unbound/about/ Unbound] est un serveur &amp;#039;&amp;#039;DNS&amp;#039;&amp;#039; faisant office de résolveur récursif et pouvant faire autorité sur des domaines locaux. Il est développé par [https://www.nlnetlabs.nl/ NLnet Labs] et se veut à la fois complet en fonctionnalité, léger (grâce à la modularité de ces dernières) et simple à configurer.&lt;br /&gt;
&lt;br /&gt;
=Installation et configuration=&lt;br /&gt;
Installation du service avec une &amp;#039;&amp;#039;Debian Bullseye&amp;#039;&amp;#039;&lt;br /&gt;
 apt install --no-install-recommends unbound&lt;br /&gt;
&lt;br /&gt;
Afin d&amp;#039;utiliser directement les serveurs racines pour la résolution récursive des requêtes clientes, il faut télécharger [https://{{SERVERNAME}}/fichiers/services/dns/root.hints la liste] contenant leurs adresses&lt;br /&gt;
 wget https://www.internic.net/domain/named.root -O /var/lib/unbound/root.hints &amp;amp;&amp;amp; chown unbound:unbound /var/lib/unbound/root.hints&lt;br /&gt;
&lt;br /&gt;
Le fichier de configuration suivant sera utilisé&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;nestedtext&amp;quot;&amp;gt;&lt;br /&gt;
cat &amp;lt;&amp;lt; _EOF_ &amp;gt; /etc/unbound/unbound.conf&lt;br /&gt;
# Fichier de configuration d&amp;#039;Unbound pour Debian.&lt;br /&gt;
#&lt;br /&gt;
# Référez-vous à la page de manuel unbound.conf(5).&lt;br /&gt;
#&lt;br /&gt;
# Voyez /usr/share/doc/unbound/examples/unbound.conf pour un&lt;br /&gt;
# fichier de configuration de référence commenté.&lt;br /&gt;
#&lt;br /&gt;
# La ligne suivante permet d&amp;#039;inclure les fichiers de configuration&lt;br /&gt;
# additionnels depuis le répertoire /etc/unbound/unbound.conf.d.&lt;br /&gt;
include-toplevel: &amp;quot;/etc/unbound/unbound.conf.d/*.conf&amp;quot;&lt;br /&gt;
&lt;br /&gt;
server:&lt;br /&gt;
statistics-interval: 0&lt;br /&gt;
extended-statistics: yes&lt;br /&gt;
statistics-cumulative: yes&lt;br /&gt;
verbosity: 3&lt;br /&gt;
&lt;br /&gt;
# Paramètres réseau&lt;br /&gt;
interface: 127.0.0.1&lt;br /&gt;
interface: 192.168.1.5&lt;br /&gt;
port: 53&lt;br /&gt;
do-ip4: yes&lt;br /&gt;
do-ip6: no&lt;br /&gt;
do-udp: yes&lt;br /&gt;
do-tcp: no&lt;br /&gt;
&lt;br /&gt;
# Contrôle d&amp;#039;accès&lt;br /&gt;
access-control: 127.0.0.0/8 allow&lt;br /&gt;
access-control: 192.168.0.0/16 allow&lt;br /&gt;
access-control: 0.0.0.0/0 refuse&lt;br /&gt;
&lt;br /&gt;
# DNSSEC&lt;br /&gt;
# auto-trust-anchor-file: &amp;quot;/var/lib/unbound/root.key&amp;quot;&lt;br /&gt;
harden-dnssec-stripped: yes&lt;br /&gt;
&lt;br /&gt;
# Adresses des serveurs racine&lt;br /&gt;
root-hints: &amp;quot;/var/lib/unbound/root.hints&amp;quot;&lt;br /&gt;
&lt;br /&gt;
# Paramètres système&lt;br /&gt;
hide-identity: yes&lt;br /&gt;
hide-version: yes&lt;br /&gt;
harden-glue: yes&lt;br /&gt;
use-caps-for-id: yes&lt;br /&gt;
cache-min-ttl: 3600&lt;br /&gt;
cache-max-ttl: 86400&lt;br /&gt;
prefetch: yes&lt;br /&gt;
num-threads: 6&lt;br /&gt;
msg-cache-slabs: 16&lt;br /&gt;
rrset-cache-slabs: 16&lt;br /&gt;
infra-cache-slabs: 16&lt;br /&gt;
key-cache-slabs: 16&lt;br /&gt;
rrset-cache-size: 256m&lt;br /&gt;
msg-cache-size: 128m&lt;br /&gt;
so-rcvbuf: 1m&lt;br /&gt;
unwanted-reply-threshold: 10000&lt;br /&gt;
do-not-query-localhost: yes&lt;br /&gt;
val-clean-additional: yes&lt;br /&gt;
&lt;br /&gt;
# Journalisation&lt;br /&gt;
use-syslog: no&lt;br /&gt;
logfile: /var/log/unbound.log&lt;br /&gt;
&lt;br /&gt;
# Paramètres du cache&lt;br /&gt;
cache-min-ttl: 3600&lt;br /&gt;
cache-max-ttl: 86400&lt;br /&gt;
prefetch: yes&lt;br /&gt;
prefetch-key: yes&lt;br /&gt;
_EOF_&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Il est possible de servir des domaines locaux (faire autorité)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;nestedtext&amp;quot;&amp;gt;&lt;br /&gt;
cat &amp;lt;&amp;lt; _EOF_ &amp;gt; /etc/unbound/unbound.conf.d/ycharbi.yo.conf&lt;br /&gt;
server:&lt;br /&gt;
local-zone: &amp;quot;ycharbi.yo.&amp;quot; static&lt;br /&gt;
local-data: &amp;quot;ycharbi.yo. IN A 192.168.1.1&amp;quot;&lt;br /&gt;
local-data: &amp;quot;toto1.ycharbi.yo. IN A 192.168.1.25&amp;quot;&lt;br /&gt;
local-data: &amp;quot;ycharbi.yo. IN MX 10 toto1.ycharbi.yo.&amp;quot;&lt;br /&gt;
_EOF_&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Il est également possible de rediriger des requêtes clientes après modification (&amp;#039;&amp;#039;DNS&amp;#039;&amp;#039; menteur aussi appelée &amp;#039;&amp;#039;Reponse Policy Zone&amp;#039;&amp;#039; ou &amp;#039;&amp;#039;RPZ&amp;#039;&amp;#039;) afin d’interdire l&amp;#039;accès à certains domaines. J&amp;#039;utilise cette fonctionnalité à deux fins :&lt;br /&gt;
* Servir mon [[Debmirror|miroir de dépôt local]] à toute mes machines sans avoir à changer leur [[Sources.list|configuration]]&lt;br /&gt;
* Éviter certains sites irrespectueux des données personnelles (utilisation d&amp;#039;une liste automatique [[#Liste_RPZ_automatique|plus bas]])&lt;br /&gt;
&lt;br /&gt;
Il est à noter que tous les sous-domaines de chaque entrée sont automatiquement pris en compte.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;nestedtext&amp;quot;&amp;gt;&lt;br /&gt;
cat &amp;lt;&amp;lt; _EOF_ &amp;gt; /etc/unbound/unbound.conf.d/rpz.conf&lt;br /&gt;
server:&lt;br /&gt;
# Miroirs de dépôts APT Debian&lt;br /&gt;
local-zone: &amp;quot;ftp.fr.debian.org&amp;quot; redirect&lt;br /&gt;
local-data: &amp;quot;ftp.fr.debian.org A 192.168.1.77&amp;quot;&lt;br /&gt;
local-zone: &amp;quot;http.debian.net&amp;quot; redirect&lt;br /&gt;
local-data: &amp;quot;http.debian.net A 192.168.1.77&amp;quot;&lt;br /&gt;
local-zone: &amp;quot;deb.debian.org&amp;quot; redirect&lt;br /&gt;
local-data: &amp;quot;deb.debian.org A 192.168.1.77&amp;quot;&lt;br /&gt;
local-zone: &amp;quot;security.debian.org&amp;quot; redirect&lt;br /&gt;
local-data: &amp;quot;security.debian.org A 192.168.1.77&amp;quot;&lt;br /&gt;
local-zone: &amp;quot;httpredir.debian.org&amp;quot; redirect&lt;br /&gt;
local-data: &amp;quot;httpredir.debian.org A 192.168.1.77&amp;quot;&lt;br /&gt;
local-zone: &amp;quot;debian.map.fastlydns.net&amp;quot; redirect&lt;br /&gt;
local-data: &amp;quot;debian.map.fastlydns.net A 192.168.1.77&amp;quot;&lt;br /&gt;
&lt;br /&gt;
# APT utilise aussi des champs SRV pour résoudre l&amp;#039;adresse des miroirs&lt;br /&gt;
local-zone: &amp;quot;prod.debian.map.fastly.net&amp;quot; redirect&lt;br /&gt;
local-data: &amp;quot;prod.debian.map.fastly.net A 192.168.1.77&amp;quot;&lt;br /&gt;
local-zone: &amp;quot;dpvctowv9b08b.cloudfront.net&amp;quot; redirect&lt;br /&gt;
local-data: &amp;quot;dpvctowv9b08b.cloudfront.net A 192.168.1.77&amp;quot;&lt;br /&gt;
local-zone: &amp;quot;_http._tcp.deb.debian.org.&amp;quot; redirect&lt;br /&gt;
local-data: &amp;quot;_http._tcp.deb.debian.org. 3600 IN SRV 10 1 80 prod.debian.map.fastly.net.&amp;quot;&lt;br /&gt;
local-data: &amp;quot;_http._tcp.deb.debian.org. 3600 IN SRV 10 1 80 dpvctowv9b08b.cloudfront.net.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
# Saloperies à supprimer&lt;br /&gt;
local-zone: &amp;quot;doubleclick.net&amp;quot; redirect&lt;br /&gt;
local-data: &amp;quot;doubleclick.net A 127.0.0.1&amp;quot;&lt;br /&gt;
local-zone: &amp;quot;googlesyndication.com&amp;quot; redirect&lt;br /&gt;
local-data: &amp;quot;googlesyndication.com A 127.0.0.1&amp;quot;&lt;br /&gt;
local-zone: &amp;quot;googleadservices.com&amp;quot; redirect&lt;br /&gt;
local-data: &amp;quot;googleadservices.com A 127.0.0.1&amp;quot;&lt;br /&gt;
local-zone: &amp;quot;google-analytics.com&amp;quot; redirect&lt;br /&gt;
local-data: &amp;quot;google-analytics.com A 127.0.0.1&amp;quot;&lt;br /&gt;
local-zone: &amp;quot;ads.youtube.com&amp;quot; redirect&lt;br /&gt;
local-data: &amp;quot;ads.youtube.com A 127.0.0.1&amp;quot;&lt;br /&gt;
local-zone: &amp;quot;adserver.yahoo.com&amp;quot; redirect&lt;br /&gt;
local-data: &amp;quot;adserver.yahoo.com A 127.0.0.1&amp;quot;&lt;br /&gt;
local-zone: &amp;quot;ask.com&amp;quot; redirect&lt;br /&gt;
local-data: &amp;quot;ask.com A 127.0.0.1&amp;quot;&lt;br /&gt;
local-zone: &amp;quot;facebook.com&amp;quot; redirect&lt;br /&gt;
local-data: &amp;quot;facebook.com A 127.0.0.1&amp;quot;&lt;br /&gt;
local-zone: &amp;quot;truste-svc.net&amp;quot; redirect&lt;br /&gt;
local-data: &amp;quot;truste-svc.net A 127.0.0.1&amp;quot;&lt;br /&gt;
local-zone: &amp;quot;trustarc.com&amp;quot; redirect&lt;br /&gt;
local-data: &amp;quot;trustarc.com A 127.0.0.1&amp;quot;&lt;br /&gt;
local-zone: &amp;quot;gstatic.com&amp;quot; redirect&lt;br /&gt;
local-data: &amp;quot;gstatic.com A 127.0.0.1&amp;quot;&lt;br /&gt;
local-zone: &amp;quot;consent.google.com&amp;quot; redirect&lt;br /&gt;
local-data: &amp;quot;consent.google.com A 127.0.0.1&amp;quot;&lt;br /&gt;
local-zone: &amp;quot;consent.youtube.com&amp;quot; redirect&lt;br /&gt;
local-data: &amp;quot;consent.youtube.com A 127.0.0.1&amp;quot;&lt;br /&gt;
local-zone: &amp;quot;cdn.privacy-mgmt.com&amp;quot; redirect&lt;br /&gt;
local-data: &amp;quot;cdn.privacy-mgmt.com A 127.0.0.1&amp;quot;&lt;br /&gt;
local-zone: &amp;quot;privacy-mgmt.com&amp;quot; redirect&lt;br /&gt;
local-data: &amp;quot;privacy-mgmt.com A 127.0.0.1&amp;quot;&lt;br /&gt;
local-zone: &amp;quot;cdn.cookielaw.org&amp;quot; redirect&lt;br /&gt;
local-data: &amp;quot;cdn.cookielaw.org A 127.0.0.1&amp;quot;&lt;br /&gt;
local-zone: &amp;quot;digitalfeedback.us.confirmit.com&amp;quot; redirect&lt;br /&gt;
local-data: &amp;quot;digitalfeedback.us.confirmit.com A 127.0.0.1&amp;quot;&lt;br /&gt;
&lt;br /&gt;
# Télémétrie Mozilla&lt;br /&gt;
local-zone: &amp;quot;incoming.telemetry.mozilla.org&amp;quot; redirect&lt;br /&gt;
local-data: &amp;quot;incoming.telemetry.mozilla.org A 127.0.0.1&amp;quot;&lt;br /&gt;
_EOF_&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Vérification de la configuration du service&lt;br /&gt;
 unbound-checkconf&lt;br /&gt;
&lt;br /&gt;
Redémarrage du service&lt;br /&gt;
 systemctl restart unbound&lt;br /&gt;
&lt;br /&gt;
Il est également possible de recharger la configuration sans relancer le logiciel. Cela a pour effet de ne pas le faire planter si jamais un fichier de configuration contient une erreur&lt;br /&gt;
 unbound-control reload&lt;br /&gt;
&lt;br /&gt;
==Sources de la section==&lt;br /&gt;
* https://memo-linux.com/debian-installer-le-serveur-dns-unbound/&lt;br /&gt;
* https://memo-linux.com/ubuntu-serveur-dns-unbound/&lt;br /&gt;
* https://lists.nlnetlabs.nl/pipermail/unbound-users/2014-October/003573.html&lt;br /&gt;
* https://unbound.docs.nlnetlabs.nl/en/latest/manpages/unbound.conf.html&lt;br /&gt;
&lt;br /&gt;
=Liste RPZ automatique=&lt;br /&gt;
Le site [https://pgl.yoyo.org pgl.yoyo.org] met à jour et publie une liste de domaines à interdire au format &amp;#039;&amp;#039;Unbound&amp;#039;&amp;#039;. Ceci peut être utile afin de filtrer les sites irrespectueux de la vie privée des utilisateurs&lt;br /&gt;
&lt;br /&gt;
{{info|De façon générale, il est préférable de laisser ce filtrage être opéré par les utilisateurs eux-même afin de maintenir un [https://www.arcep.fr/nos-sujets/la-neutralite-du-net.html réseau aussi neutre que possible]. Il est important également de considérer l&amp;#039;aspect sécuritaire au fait de récupérer une liste de résolution canonique sur un site tiers. Rien ne garanti que son administrateur (ou un pirate) n&amp;#039;utilisera cette liste pour faire rediriger un site légitime vers une adresse externe et compromettre l&amp;#039;authenticité de vos communications avec celui-ci. Cette solution est à adapter à la situation locale.}}&lt;br /&gt;
&lt;br /&gt;
Le script suivant (écrit par [https://zestedesavoir.com/@sgble sgble] et adapté par mes soins) permet de récupérer la dernière version de la liste tout en sauvegardant sa copie actuelle, d&amp;#039;en vérifier la syntaxe et ainsi de soit recharger le service, soit restaurer sa version fonctionnelle :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;php&amp;quot;&amp;gt;&lt;br /&gt;
cat &amp;lt;&amp;lt; _EOF_ &amp;gt; /usr/local/sbin/maj-rbl-unbound&lt;br /&gt;
#!/bin/bash&lt;br /&gt;
&lt;br /&gt;
# Lien de la liste&lt;br /&gt;
yoyo_url=&amp;quot;https://pgl.yoyo.org/adservers/serverlist.php?hostformat=unbound&amp;amp;showintro=0&amp;amp;mimetype=plaintext&amp;quot;&lt;br /&gt;
&lt;br /&gt;
# Localisation de la configuration Unbound&lt;br /&gt;
unbound_confs=&amp;quot;/etc/unbound/unbound.conf.d/&amp;quot;&lt;br /&gt;
&lt;br /&gt;
# Si le fichier précédent existe déjà, le garder en réserver au cas où&lt;br /&gt;
if [ -f &amp;quot;${unbound_confs}&amp;quot;/yoyo_blocus.conf ]; then&lt;br /&gt;
	cp &amp;quot;${unbound_confs}&amp;quot;/yoyo_blocus.conf /tmp/yoyo_blocus.conf.sauv&lt;br /&gt;
fi&lt;br /&gt;
&lt;br /&gt;
# Télécharger et placer la liste au bon endroit&lt;br /&gt;
wget &amp;quot;${yoyo_url}&amp;quot; -O &amp;quot;${unbound_confs}&amp;quot;/yoyo_blocus.conf &amp;amp;&amp;amp; sed -i &amp;#039;1 s/^/server:\n/&amp;#039; &amp;quot;${unbound_confs}&amp;quot;/yoyo_blocus.conf&lt;br /&gt;
&lt;br /&gt;
# Vérifier que Unbound ne rencontre aucun problème avec la liste et recharger si vrai&lt;br /&gt;
if unbound-checkconf; then&lt;br /&gt;
	echo &amp;quot;La nouvelle liste est bonne&amp;quot;&lt;br /&gt;
	unbound-control reload&lt;br /&gt;
	echo &amp;quot;Unbound a été rechargé&amp;quot;&lt;br /&gt;
# Sinon, rétablir l&amp;#039;ancien fichier qu&amp;#039;on a gardé en réserve&lt;br /&gt;
else&lt;br /&gt;
	echo &amp;quot;La nouvelle liste semble mal formaté&amp;quot;&lt;br /&gt;
	mv /tmp/yoyo_blocus.conf.sauv &amp;quot;${unbound_confs}&amp;quot;/yoyo_blocus.conf&lt;br /&gt;
	echo &amp;quot;Une restauration de l&amp;#039;ancienne liste a été effectuée&amp;quot;&lt;br /&gt;
fi&lt;br /&gt;
_EOF_&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 chmod +x /usr/local/sbin/maj-rbl-unbound&lt;br /&gt;
&lt;br /&gt;
Création d&amp;#039;un [[Minuteur - systemd|minuteur Systemd]] afin d&amp;#039;automatiser l&amp;#039;actualisation de la liste (tous les jours)&lt;br /&gt;
  mkdir -p /usr/local/etc/systemd/system&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;ini&amp;quot;&amp;gt;&lt;br /&gt;
cat &amp;lt;&amp;lt; _EOF_ &amp;gt; /usr/local/etc/systemd/system/maj-rbl-unbound.service&lt;br /&gt;
[Unit]&lt;br /&gt;
Description=Actualisation de la liste RPZ d&amp;#039;Unbound&lt;br /&gt;
After=network.target&lt;br /&gt;
&lt;br /&gt;
[Service]&lt;br /&gt;
Type=oneshot&lt;br /&gt;
ExecStart=maj-rbl-unbound&lt;br /&gt;
RemainAfterExit=yes&lt;br /&gt;
&lt;br /&gt;
[Install]&lt;br /&gt;
WantedBy=multi-user.target&lt;br /&gt;
_EOF_&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;ini&amp;quot;&amp;gt;&lt;br /&gt;
cat &amp;lt;&amp;lt; _EOF_ &amp;gt; /usr/local/etc/systemd/system/maj-rbl-unbound.timer&lt;br /&gt;
[Unit]&lt;br /&gt;
Description=Exécution journalière de l&amp;#039;actualisation de la liste RPZ d&amp;#039;Unbound&lt;br /&gt;
&lt;br /&gt;
[Timer]&lt;br /&gt;
OnCalendar=daily&lt;br /&gt;
Persistent=true&lt;br /&gt;
&lt;br /&gt;
[Install]&lt;br /&gt;
WantedBy=timers.target&lt;br /&gt;
_EOF_&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 ln -s /usr/local/etc/systemd/system/maj-rbl-unbound.service /etc/systemd/system/&lt;br /&gt;
 ln -s /usr/local/etc/systemd/system/maj-rbl-unbound.timer /etc/systemd/system/&lt;br /&gt;
&lt;br /&gt;
 systemctl daemon-reload&lt;br /&gt;
&lt;br /&gt;
 systemctl enable maj-rbl-unbound.timer&lt;br /&gt;
 systemctl start maj-rbl-unbound.timer&lt;br /&gt;
&lt;br /&gt;
=Sources de la section=&lt;br /&gt;
* https://zestedesavoir.com/billets/3908/avoir-son-dns-local-securite-controle-et-performance/&lt;/div&gt;</summary>
		<author><name>Ycharbi</name></author>
	</entry>
</feed>