<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="de">
	<id>https://wiki.ixheim.de/index.php?action=history&amp;feed=atom&amp;title=Ansible_KIT_Nameserver-Konfiguration</id>
	<title>Ansible KIT Nameserver-Konfiguration - Versionsgeschichte</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.ixheim.de/index.php?action=history&amp;feed=atom&amp;title=Ansible_KIT_Nameserver-Konfiguration"/>
	<link rel="alternate" type="text/html" href="https://wiki.ixheim.de/index.php?title=Ansible_KIT_Nameserver-Konfiguration&amp;action=history"/>
	<updated>2026-04-17T12:00:32Z</updated>
	<subtitle>Versionsgeschichte dieser Seite in Xinux Wiki</subtitle>
	<generator>MediaWiki 1.35.1</generator>
	<entry>
		<id>https://wiki.ixheim.de/index.php?title=Ansible_KIT_Nameserver-Konfiguration&amp;diff=68456&amp;oldid=prev</id>
		<title>Thomas.will: /* Reverse-Zone */</title>
		<link rel="alternate" type="text/html" href="https://wiki.ixheim.de/index.php?title=Ansible_KIT_Nameserver-Konfiguration&amp;diff=68456&amp;oldid=prev"/>
		<updated>2026-04-07T13:49:02Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Reverse-Zone&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left diff-editfont-monospace&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;de&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Nächstältere Version&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Version vom 7. April 2026, 13:49 Uhr&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-l196&quot; &gt;Zeile 196:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Zeile 196:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&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;pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&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;pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&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;$TTL 1&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&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;$TTL 1&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&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;@               IN SOA  ns.it2&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;{&lt;/del&gt;{ fw_xx }}.int. technik.&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;it2&lt;/del&gt;{{ fw_xx }}.int. (&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&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;@               IN SOA  ns.it2{ fw_xx }}.int. technik.&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;it&lt;/ins&gt;{{ fw_xx }}.int. (&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&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;                         2025062501 ; serial&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&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;                         2025062501 ; serial&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&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;                         14400      ; refresh&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&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;                         14400      ; refresh&lt;/div&gt;&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-l203&quot; &gt;Zeile 203:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Zeile 203:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&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;                         86400      ; minimum&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&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;                         86400      ; minimum&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&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;                         )&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&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;                         )&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&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;                 IN      NS      ns.&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;it2&lt;/del&gt;{{ fw_xx }}.int.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&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;                 IN      NS      ns.&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;it&lt;/ins&gt;{{ fw_xx }}.int.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&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;/td&gt;&lt;td class='diff-marker'&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;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&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;1               IN      PTR     fw.&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;it2&lt;/del&gt;{{ fw_xx }}.int.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&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;1               IN      PTR     fw.&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;it&lt;/ins&gt;{{ fw_xx }}.int.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&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;21              IN      PTR     ns.&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;it2&lt;/del&gt;{{ fw_xx }}.int.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&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;21              IN      PTR     ns.&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;it&lt;/ins&gt;{{ fw_xx }}.int.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&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;3               IN      PTR     sftp.&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;it2&lt;/del&gt;{{ fw_xx }}.int.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&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;3               IN      PTR     sftp.&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;it&lt;/ins&gt;{{ fw_xx }}.int.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&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;4               IN      PTR     proxy.&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;it2&lt;/del&gt;{{ fw_xx }}.int.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&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;4               IN      PTR     proxy.&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;it&lt;/ins&gt;{{ fw_xx }}.int.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&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;17              IN      PTR     ntp.&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;it2&lt;/del&gt;{{ fw_xx }}.int.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&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;17              IN      PTR     ntp.&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;it&lt;/ins&gt;{{ fw_xx }}.int.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&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;/pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&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;/pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&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;/td&gt;&lt;td class='diff-marker'&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;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key my_wiki:diff::1.12:old-68455:rev-68456 --&gt;
&lt;/table&gt;</summary>
		<author><name>Thomas.will</name></author>
	</entry>
	<entry>
		<id>https://wiki.ixheim.de/index.php?title=Ansible_KIT_Nameserver-Konfiguration&amp;diff=68455&amp;oldid=prev</id>
		<title>Thomas.will: /* Forward-Zone */</title>
		<link rel="alternate" type="text/html" href="https://wiki.ixheim.de/index.php?title=Ansible_KIT_Nameserver-Konfiguration&amp;diff=68455&amp;oldid=prev"/>
		<updated>2026-04-07T13:48:36Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Forward-Zone&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left diff-editfont-monospace&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;de&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Nächstältere Version&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Version vom 7. April 2026, 13:48 Uhr&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-l170&quot; &gt;Zeile 170:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Zeile 170:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&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;pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&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;pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&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;$TTL 300&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&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;$TTL 300&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&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;@               IN SOA  ns.&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;it2&lt;/del&gt;{{ fw_xx }}.int. technik.&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;it2&lt;/del&gt;{{ fw_xx }}.int. (&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&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;@               IN SOA  ns.&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;it&lt;/ins&gt;{{ fw_xx }}.int. technik.&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;it&lt;/ins&gt;{{ fw_xx }}.int. (&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&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;                         2025062501 ; serial&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&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;                         2025062501 ; serial&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&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;                         14400      ; refresh&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&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;                         14400      ; refresh&lt;/div&gt;&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-l177&quot; &gt;Zeile 177:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Zeile 177:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&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;                         86400      ; minimum&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&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;                         86400      ; minimum&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&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;                         )&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&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;                         )&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&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;                 NS      ns.&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;it2&lt;/del&gt;{{ fw_xx }}.int.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&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;                 NS      ns.&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;it&lt;/ins&gt;{{ fw_xx }}.int.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&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;                 MX 10   mail.&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;it2&lt;/del&gt;{{ fw_xx }}.int.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&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;                 MX 10   mail.&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;it&lt;/ins&gt;{{ fw_xx }}.int.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&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;/td&gt;&lt;td class='diff-marker'&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;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&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;fw              IN      A       10.88.{{ fw_xx }}.1&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&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;fw              IN      A       10.88.{{ fw_xx }}.1&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key my_wiki:diff::1.12:old-68454:rev-68455 --&gt;
&lt;/table&gt;</summary>
		<author><name>Thomas.will</name></author>
	</entry>
	<entry>
		<id>https://wiki.ixheim.de/index.php?title=Ansible_KIT_Nameserver-Konfiguration&amp;diff=68454&amp;oldid=prev</id>
		<title>Thomas.will: /* named.conf.local */</title>
		<link rel="alternate" type="text/html" href="https://wiki.ixheim.de/index.php?title=Ansible_KIT_Nameserver-Konfiguration&amp;diff=68454&amp;oldid=prev"/>
		<updated>2026-04-07T13:47:52Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;named.conf.local&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left diff-editfont-monospace&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;de&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Nächstältere Version&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Version vom 7. April 2026, 13:47 Uhr&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-l153&quot; &gt;Zeile 153:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Zeile 153:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&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;/td&gt;&lt;td class='diff-marker'&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;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&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;pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&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;pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&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;zone &amp;quot;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;it2&lt;/del&gt;{{ fw_xx }}.int&amp;quot; {&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&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;zone &amp;quot;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;it&lt;/ins&gt;{{ fw_xx }}.int&amp;quot; {&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&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;     type master;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&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;     type master;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&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;     file &amp;quot;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;it2&lt;/del&gt;{{ fw_xx }}.int&amp;quot;;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&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;     file &amp;quot;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;it&lt;/ins&gt;{{ fw_xx }}.int&amp;quot;;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&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;};&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&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;};&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&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;/td&gt;&lt;td class='diff-marker'&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;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key my_wiki:diff::1.12:old-68451:rev-68454 --&gt;
&lt;/table&gt;</summary>
		<author><name>Thomas.will</name></author>
	</entry>
	<entry>
		<id>https://wiki.ixheim.de/index.php?title=Ansible_KIT_Nameserver-Konfiguration&amp;diff=68451&amp;oldid=prev</id>
		<title>Thomas.will: Die Seite wurde neu angelegt: „= DNS-Server Konfiguration mit Ansible =  Dieser Artikel zeigt wie man mehrere DNS-Server (bind9) automatisiert mit Ansible konfiguriert…“</title>
		<link rel="alternate" type="text/html" href="https://wiki.ixheim.de/index.php?title=Ansible_KIT_Nameserver-Konfiguration&amp;diff=68451&amp;oldid=prev"/>
		<updated>2026-04-07T13:04:34Z</updated>

		<summary type="html">&lt;p&gt;Die Seite wurde neu angelegt: „= DNS-Server Konfiguration mit Ansible =  Dieser Artikel zeigt wie man mehrere DNS-Server (bind9) automatisiert mit &lt;a href=&quot;/index.php/Ansible_Grundlagen&quot; title=&quot;Ansible Grundlagen&quot;&gt;Ansible&lt;/a&gt; konfiguriert…“&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Neue Seite&lt;/b&gt;&lt;/p&gt;&lt;div&gt;= DNS-Server Konfiguration mit Ansible =&lt;br /&gt;
&lt;br /&gt;
Dieser Artikel zeigt wie man mehrere DNS-Server (bind9) automatisiert mit [[Ansible Grundlagen|Ansible]] konfiguriert.&lt;br /&gt;
Wir verwenden eine Ansible-Rolle die bind9 installiert, alle Zonen-Dateien erstellt und die Konfiguration automatisch prüft.&lt;br /&gt;
&lt;br /&gt;
Voraussetzung ist der Artikel [[Ansible Grundlagen]].&lt;br /&gt;
&lt;br /&gt;
== Voraussetzungen ==&lt;br /&gt;
&lt;br /&gt;
* Ansible ist auf dem Control-Node installiert ([[Ansible Grundlagen]])&lt;br /&gt;
* Alle DNS-VMs sind erreichbar (SSH über die DMZ-IP)&lt;br /&gt;
* User &amp;lt;code&amp;gt;kit&amp;lt;/code&amp;gt; ist auf allen VMs vorhanden und hat &amp;lt;code&amp;gt;sudo NOPASSWD&amp;lt;/code&amp;gt;-Rechte&lt;br /&gt;
* SSH-Schlüssel ist hinterlegt&lt;br /&gt;
* Die Firewall-VMs sind bereits konfiguriert ([[Ansible Firewall Konfiguration]])&lt;br /&gt;
&lt;br /&gt;
== Variablen ==&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Variable !! Bedeutung !! Beispiel&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;fw_xx&amp;lt;/code&amp;gt; || Teilnehmernummer (201–213) || &amp;lt;code&amp;gt;212&amp;lt;/code&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;fw_y&amp;lt;/code&amp;gt; || Klassensaal (1–16) – wird beim Ausführen mitgegeben || &amp;lt;code&amp;gt;16&amp;lt;/code&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
;&amp;lt;code&amp;gt;fw_y&amp;lt;/code&amp;gt; ist bewusst nicht im Inventory:&lt;br /&gt;
Da der Klassensaal von Tag zu Tag wechseln kann, wird er beim Ausführen des Playbooks als Extra-Variable übergeben:&lt;br /&gt;
* &amp;lt;code&amp;gt;ansible-playbook site.yml -e &amp;quot;fw_y=16&amp;quot;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Der Standardwert in &amp;lt;code&amp;gt;roles/dns/defaults/main.yml&amp;lt;/code&amp;gt; ist &amp;lt;code&amp;gt;fw_y: 1&amp;lt;/code&amp;gt; und greift wenn man die Variable vergisst.&lt;br /&gt;
&lt;br /&gt;
== Projektstruktur ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
ansible-dns/&lt;br /&gt;
├── ansible.cfg&lt;br /&gt;
├── site.yml&lt;br /&gt;
├── inventory/&lt;br /&gt;
│   └── hosts.ini&lt;br /&gt;
└── roles/&lt;br /&gt;
    └── dns/&lt;br /&gt;
        ├── defaults/&lt;br /&gt;
        │   └── main.yml&lt;br /&gt;
        ├── tasks/&lt;br /&gt;
        │   └── main.yml&lt;br /&gt;
        ├── handlers/&lt;br /&gt;
        │   └── main.yml&lt;br /&gt;
        └── templates/&lt;br /&gt;
            ├── named.conf.options.j2&lt;br /&gt;
            ├── named.conf.local.j2&lt;br /&gt;
            ├── forward.zone.j2&lt;br /&gt;
            ├── reverse.zone.j2&lt;br /&gt;
            └── resolv.conf.j2&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Inventory ==&lt;br /&gt;
&lt;br /&gt;
Die DNS-Server liegen im DMZ-Netz (&amp;lt;code&amp;gt;10.88.XX.21&amp;lt;/code&amp;gt;). Jeder Host bekommt seine eigene &amp;lt;code&amp;gt;fw_xx&amp;lt;/code&amp;gt;-Variable.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
[dns]&lt;br /&gt;
ns201 ansible_host=10.88.201.21 fw_xx=201&lt;br /&gt;
ns202 ansible_host=10.88.202.21 fw_xx=202&lt;br /&gt;
...&lt;br /&gt;
ns213 ansible_host=10.88.213.21 fw_xx=213&lt;br /&gt;
&lt;br /&gt;
[dns:vars]&lt;br /&gt;
ansible_user=kit&lt;br /&gt;
ansible_become=true&lt;br /&gt;
ansible_become_method=sudo&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== ansible.cfg ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
[defaults]&lt;br /&gt;
inventory         = inventory/hosts.ini&lt;br /&gt;
remote_user       = kit&lt;br /&gt;
host_key_checking = False&lt;br /&gt;
&lt;br /&gt;
[privilege_escalation]&lt;br /&gt;
become        = True&lt;br /&gt;
become_method = sudo&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Playbook ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
---&lt;br /&gt;
- name: DNS-Server konfigurieren&lt;br /&gt;
  hosts: dns&lt;br /&gt;
  gather_facts: false&lt;br /&gt;
&lt;br /&gt;
  roles:&lt;br /&gt;
    - dns&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Rolle: dns ==&lt;br /&gt;
&lt;br /&gt;
=== defaults/main.yml ===&lt;br /&gt;
&lt;br /&gt;
Standardwert für den Klassensaal – wird überschrieben wenn man &amp;lt;code&amp;gt;-e &amp;quot;fw_y=16&amp;quot;&amp;lt;/code&amp;gt; mitgibt:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
---&lt;br /&gt;
fw_y: 1&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Tasks ===&lt;br /&gt;
&lt;br /&gt;
Die Rolle führt folgende Schritte aus:&lt;br /&gt;
&lt;br /&gt;
# Hostname setzen (&amp;lt;code&amp;gt;ns.it2XX.int&amp;lt;/code&amp;gt;)&lt;br /&gt;
# bind9 installieren&lt;br /&gt;
# named stoppen&lt;br /&gt;
# &amp;lt;code&amp;gt;named.conf.options&amp;lt;/code&amp;gt; konfigurieren&lt;br /&gt;
# &amp;lt;code&amp;gt;named.conf.local&amp;lt;/code&amp;gt; konfigurieren&lt;br /&gt;
# Forward-Zonendatei erstellen&lt;br /&gt;
# Reverse-Zonendatei erstellen&lt;br /&gt;
# Konfiguration prüfen (&amp;lt;code&amp;gt;named-checkconf&amp;lt;/code&amp;gt;)&lt;br /&gt;
# Forward-Zone prüfen (&amp;lt;code&amp;gt;named-checkzone&amp;lt;/code&amp;gt;)&lt;br /&gt;
# Reverse-Zone prüfen (&amp;lt;code&amp;gt;named-checkzone&amp;lt;/code&amp;gt;)&lt;br /&gt;
# named aktivieren und starten&lt;br /&gt;
# &amp;lt;code&amp;gt;resolv.conf&amp;lt;/code&amp;gt; konfigurieren&lt;br /&gt;
&lt;br /&gt;
;Automatische Prüfung:&lt;br /&gt;
Die Tasks führen &amp;lt;code&amp;gt;named-checkconf&amp;lt;/code&amp;gt; und &amp;lt;code&amp;gt;named-checkzone&amp;lt;/code&amp;gt; aus bevor named gestartet wird.&lt;br /&gt;
Schlägt die Prüfung fehl bricht Ansible ab – so wird verhindert dass ein fehlerhafter named gestartet wird.&lt;br /&gt;
&lt;br /&gt;
=== Templates ===&lt;br /&gt;
&lt;br /&gt;
==== named.conf.options ====&lt;br /&gt;
&lt;br /&gt;
Der Forwarder zeigt auf den DNSGW des jeweiligen Klassensaals (&amp;lt;code&amp;gt;192.168.Y.88&amp;lt;/code&amp;gt;).&lt;br /&gt;
Die &amp;lt;code&amp;gt;allow-recursion&amp;lt;/code&amp;gt;-Regel erlaubt nur den eigenen Netzen rekursive Anfragen.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
options {&lt;br /&gt;
  directory &amp;quot;/var/cache/bind&amp;quot;;&lt;br /&gt;
  forwarders { 192.168.{{ fw_y }}.88; };&lt;br /&gt;
  allow-query { 0.0.0.0/0; };&lt;br /&gt;
  allow-recursion { 10.88.{{ fw_xx }}.0/24; 172.26.{{ fw_xx }}.0/24; 10.{{ fw_xx }}.1.0/24; 127.0.0.1; };&lt;br /&gt;
  allow-transfer { 127.0.0.1; };&lt;br /&gt;
  dnssec-validation no;&lt;br /&gt;
  listen-on-v6 { none; };&lt;br /&gt;
  listen-on { any; };&lt;br /&gt;
};&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== named.conf.local ====&lt;br /&gt;
&lt;br /&gt;
Definiert die Forward- und Reverse-Zone für den jeweiligen Teilnehmer:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
zone &amp;quot;it2{{ fw_xx }}.int&amp;quot; {&lt;br /&gt;
    type master;&lt;br /&gt;
    file &amp;quot;it2{{ fw_xx }}.int&amp;quot;;&lt;br /&gt;
};&lt;br /&gt;
&lt;br /&gt;
zone &amp;quot;{{ fw_xx }}.88.10.in-addr.arpa&amp;quot; {&lt;br /&gt;
    type master;&lt;br /&gt;
    file &amp;quot;{{ fw_xx }}.88.10.in-addr.arpa&amp;quot;;&lt;br /&gt;
};&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Forward-Zone ====&lt;br /&gt;
&lt;br /&gt;
Enthält alle A-Records der Domäne &amp;lt;code&amp;gt;it2XX.int&amp;lt;/code&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$TTL 300&lt;br /&gt;
@               IN SOA  ns.it2{{ fw_xx }}.int. technik.it2{{ fw_xx }}.int. (&lt;br /&gt;
                        2025062501 ; serial&lt;br /&gt;
                        14400      ; refresh&lt;br /&gt;
                        3600       ; retry&lt;br /&gt;
                        3600000    ; expire&lt;br /&gt;
                        86400      ; minimum&lt;br /&gt;
                        )&lt;br /&gt;
                NS      ns.it2{{ fw_xx }}.int.&lt;br /&gt;
                MX 10   mail.it2{{ fw_xx }}.int.&lt;br /&gt;
&lt;br /&gt;
fw              IN      A       10.88.{{ fw_xx }}.1&lt;br /&gt;
ns              IN      A       10.88.{{ fw_xx }}.21&lt;br /&gt;
sftp            IN      A       10.88.{{ fw_xx }}.3&lt;br /&gt;
proxy           IN      A       10.88.{{ fw_xx }}.4&lt;br /&gt;
ntp             IN      A       10.88.{{ fw_xx }}.17&lt;br /&gt;
dhcp            IN      A       172.26.{{ fw_xx }}.2&lt;br /&gt;
smb             IN      A       10.{{ fw_xx }}.1.2&lt;br /&gt;
ldap            IN      A       10.{{ fw_xx }}.1.3&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Reverse-Zone ====&lt;br /&gt;
&lt;br /&gt;
Enthält die PTR-Records für das DMZ-Netz (&amp;lt;code&amp;gt;10.88.XX.0/24&amp;lt;/code&amp;gt;):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$TTL 1&lt;br /&gt;
@               IN SOA  ns.it2{{ fw_xx }}.int. technik.it2{{ fw_xx }}.int. (&lt;br /&gt;
                        2025062501 ; serial&lt;br /&gt;
                        14400      ; refresh&lt;br /&gt;
                        3600       ; retry&lt;br /&gt;
                        3600000    ; expire&lt;br /&gt;
                        86400      ; minimum&lt;br /&gt;
                        )&lt;br /&gt;
                IN      NS      ns.it2{{ fw_xx }}.int.&lt;br /&gt;
&lt;br /&gt;
1               IN      PTR     fw.it2{{ fw_xx }}.int.&lt;br /&gt;
21              IN      PTR     ns.it2{{ fw_xx }}.int.&lt;br /&gt;
3               IN      PTR     sftp.it2{{ fw_xx }}.int.&lt;br /&gt;
4               IN      PTR     proxy.it2{{ fw_xx }}.int.&lt;br /&gt;
17              IN      PTR     ntp.it2{{ fw_xx }}.int.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Ausführen ==&lt;br /&gt;
&lt;br /&gt;
;Alle Hosts (Saal 16):&lt;br /&gt;
* &amp;lt;code&amp;gt;ansible-playbook site.yml -e &amp;quot;fw_y=16&amp;quot;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
;Nur einzelne Hosts zum Testen:&lt;br /&gt;
* &amp;lt;code&amp;gt;ansible-playbook site.yml -e &amp;quot;fw_y=16&amp;quot; --limit ns212,ns213&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
;Trockenlauf:&lt;br /&gt;
* &amp;lt;code&amp;gt;ansible-playbook site.yml -e &amp;quot;fw_y=16&amp;quot; --check&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Finaler Test ==&lt;br /&gt;
&lt;br /&gt;
Nach dem Ausführen kann man die Zonen direkt auf dem DNS-Server prüfen:&lt;br /&gt;
&lt;br /&gt;
;Forward-Zone:&lt;br /&gt;
* &amp;lt;code&amp;gt;dig @127.0.0.1 it2213.int -t axfr&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
;Reverse-Zone:&lt;br /&gt;
* &amp;lt;code&amp;gt;dig @127.0.0.1 213.88.10.in-addr.arpa -t axfr&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
;Logs:&lt;br /&gt;
* &amp;lt;code&amp;gt;journalctl -fu named&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Siehe auch ==&lt;br /&gt;
&lt;br /&gt;
* [[Ansible Grundlagen]]&lt;br /&gt;
* [[Ansible Firewall Konfiguration]]&lt;br /&gt;
* [[DNS Grundlagen]]&lt;br /&gt;
* [[DNS Records]]&lt;br /&gt;
* [[DNS Master - Slave - Forward]]&lt;/div&gt;</summary>
		<author><name>Thomas.will</name></author>
	</entry>
</feed>