Skip to content
Snippets Groups Projects
Commit 6c221d56 authored by Goik Martin's avatar Goik Martin
Browse files

Link supplements,

parent c3dee912
No related branches found
No related tags found
No related merge requests found
...@@ -190,13 +190,6 @@ hdm-stuttgart.de. 3600 IN NS iz-net-2.hdm-stuttgart.de.</screen> ...@@ -190,13 +190,6 @@ hdm-stuttgart.de. 3600 IN NS iz-net-2.hdm-stuttgart.de.</screen>
<section xml:id="sdiDnsExercises"> <section xml:id="sdiDnsExercises">
<title>Exercises</title> <title>Exercises</title>
<para>You may follow <quote
xlink:href="https://www.linuxbabe.com/debian/authoritative-dns-server-debian-10-buster-bind9">Set
Up BIND Authoritative DNS Server on Debian 10 Buster</quote> implementing
the subsequent steps. You may want to read <link
xlink:href="https://www.zytrax.com/books/dns/ch8/soa.html">Start of
Authority Resource Record</link> in particular.</para>
<section xml:id="sdiDnsUseDig"> <section xml:id="sdiDnsUseDig">
<title>Querying <xref linkend="glo_DNS"/> data.</title> <title>Querying <xref linkend="glo_DNS"/> data.</title>
...@@ -209,6 +202,28 @@ hdm-stuttgart.de. 3600 IN NS iz-net-2.hdm-stuttgart.de.</screen> ...@@ -209,6 +202,28 @@ hdm-stuttgart.de. 3600 IN NS iz-net-2.hdm-stuttgart.de.</screen>
<section xml:id="sdiBindInstall"> <section xml:id="sdiBindInstall">
<title>Installing <xref linkend="glo_Soft_Bind"/></title> <title>Installing <xref linkend="glo_Soft_Bind"/></title>
<para>You may follow:</para>
<itemizedlist>
<listitem>
<para><link
xlink:href="https://www.linuxbabe.com/debian/authoritative-dns-server-debian-10-buster-bind9">Set
Up BIND Authoritative DNS Server on Debian</link></para>
</listitem>
<listitem>
<para><link
xlink:href="https://cloudinfrastructureservices.co.uk/how-to-install-bind-dns-on-debian-11-server-setup-configure">How
to Install Bind DNS on Debian 11 Server</link></para>
</listitem>
<listitem>
<para><link
xlink:href="https://www.zytrax.com/books/dns/ch8/soa.html">Start of
Authority Resource Record</link></para>
</listitem>
</itemizedlist>
<para>Install the <productname>bind9</productname> server package on <para>Install the <productname>bind9</productname> server package on
your <quote>a</quote> virtual machine. The MI department has already set your <quote>a</quote> virtual machine. The MI department has already set
up a <xref linkend="glo_DNS"/> service for up a <xref linkend="glo_DNS"/> service for
...@@ -216,34 +231,48 @@ hdm-stuttgart.de. 3600 IN NS iz-net-2.hdm-stuttgart.de.</screen> ...@@ -216,34 +231,48 @@ hdm-stuttgart.de. 3600 IN NS iz-net-2.hdm-stuttgart.de.</screen>
want to be able configuring private host aliases.</para> want to be able configuring private host aliases.</para>
<para>Consider the example virtual machine <para>Consider the example virtual machine
<code>sdi4a.mi.hdm-stuttgart.de / 141.62.75.104</code> hosting a <xref <code>sdi04a.mi.hdm-stuttgart.de / 141.62.75.104</code> hosting a <xref
linkend="glo_DNS"/> server. It should provide at least the following linkend="glo_DNS"/> server. Create a complete new zone describing a
domain sdi4<code>.mi.hdm-stuttgart.de</code> containing both your
machine's <code>sdi04a.sdi4mi.hdm-stuttgart.de</code> and
<code>sdi04b.sdi4mi.hdm-stuttgart.de</code> address records. Your <xref
linkend="glo_DNS"/> server should provide at least the following
data:</para> data:</para>
<glosslist> <glosslist>
<glossentry> <glossentry>
<glossterm>ns4.mi.hdm-stuttgart.de</glossterm> <glossterm>Your sdi4.mi.hdm-stuttgart.de domain's primary
nameserver</glossterm>
<glossdef> <glossdef>
<para>Primary name server for domain <para>Primary name server for domain
<code>sdi4a.mi.hdm-stuttgart.de</code>.</para> <code>sdi4.mi.hdm-stuttgart.de</code>. </para>
</glossdef> </glossdef>
</glossentry> </glossentry>
<glossentry> <glossentry>
<glossterm>sdi4a.mi.hdm-stuttgart.de</glossterm> <glossterm>sdi04a.sdi4.mi.hdm-stuttgart.de</glossterm>
<glossdef> <glossdef>
<para>Host name.</para> <para>Your first machine's host name.</para>
</glossdef> </glossdef>
</glossentry> </glossentry>
<glossentry> <glossentry>
<glossterm>www4-1.mi.hdm-stuttgart.de and <glossterm>sdi04b.sdi4.mi.hdm-stuttgart.de</glossterm>
<glossdef>
<para>Your first machine's host name.</para>
</glossdef>
</glossentry>
<glossentry>
<glossterm>www4.sdi4.mi.hdm-stuttgart.de and
www4-2.mi.hdm-stuttgart.de</glossterm> www4-2.mi.hdm-stuttgart.de</glossterm>
<glossdef> <glossdef>
<para><code>CNAME</code> aliases.</para> <para>An (<code>CNAME</code>) alias to
sdi04a.sdi4.mi.hdm-stuttgart.de.</para>
</glossdef> </glossdef>
</glossentry> </glossentry>
</glosslist> </glosslist>
...@@ -279,19 +308,15 @@ hdm-stuttgart.de. 3600 IN NS iz-net-2.hdm-stuttgart.de.</screen> ...@@ -279,19 +308,15 @@ hdm-stuttgart.de. 3600 IN NS iz-net-2.hdm-stuttgart.de.</screen>
</listitem> </listitem>
<listitem> <listitem>
<para><code>www</code> (Future Webserver, see <xref <para><code>www</code>4 (Future webserver, see <xref
linkend="sdiApache"/>).</para> linkend="sdiApache"/>).</para>
</listitem> </listitem>
</itemizedlist> </itemizedlist>
<para>Test your configuration using <code>dig</code> <option>@&lt;your <para>Test your configuration using <code>dig</code> <option>@&lt;your
host-IP&gt;</option> <option>...</option> . You should be able to host-IP&gt;</option> <option>...</option> . You should be able to
resolve e.g. <code>www.mi.hdm-stuttgart.de</code> to your local host's resolve e.g. <code>www4.sdi4.mi.hdm-stuttgart.de</code> to your local
IP address.</para> host's IP address.</para>
<para>Define an alternate name (alias) <code>info</code> to
<code>www</code> serving as <code>info.mi.hdm-stuttgart.de</code> and
check this address as well.</para>
</section> </section>
<section xml:id="sdiDnsReverse"> <section xml:id="sdiDnsReverse">
...@@ -300,7 +325,7 @@ hdm-stuttgart.de. 3600 IN NS iz-net-2.hdm-stuttgart.de.</screen> ...@@ -300,7 +325,7 @@ hdm-stuttgart.de. 3600 IN NS iz-net-2.hdm-stuttgart.de.</screen>
<para>Define a reverse zone file to answer queries asking for an IP <para>Define a reverse zone file to answer queries asking for an IP
address' machine name <abbrev>i.e.</abbrev> resolving address' machine name <abbrev>i.e.</abbrev> resolving
<code>141.62.75.104</code> to <code>141.62.75.104</code> to
<code>sdi4a.mi.hdm-stuttgart.de</code>.</para> <code>sdi04a.mi.hdm-stuttgart.de</code>.</para>
</section> </section>
<section xml:id="sdiDnsForwarder"> <section xml:id="sdiDnsForwarder">
...@@ -323,14 +348,9 @@ hdm-stuttgart.de. 3600 IN NS iz-net-2.hdm-stuttgart.de.</screen> ...@@ -323,14 +348,9 @@ hdm-stuttgart.de. 3600 IN NS iz-net-2.hdm-stuttgart.de.</screen>
Test this configuration using dig accordingly.</para> Test this configuration using dig accordingly.</para>
<para>Caveat: Configuring a client machine using your name server and <para>Caveat: Configuring a client machine using your name server and
sending a mail to <code>xy123@mi.hdm-stuttgart.de</code> won't work sending a mail to <code>xy123@sdi04.mi.hdm-stuttgart.de</code> won't
since the HdM's mail filters will deliver these mails to the MI mail work since <code>mail.hdm-stuttgart.de</code> will reject mails being
server <code>mail.mi.hdm-stuttgart.de</code> rather than to sent to any domain other than <code>hdm-stuttgart.de</code>.</para>
<code>mail.hdm-stuttgart.de</code> (and you probably have no account on
this particular machine). In addition both servers will reject mails
having destination addresses differing from
<code>...@hdm-stuttgart.de</code> or
<code>...@mi.hdm-stuttgart.de</code> respectively.</para>
</section> </section>
<section xml:id="sdiDnsProjectNameServer"> <section xml:id="sdiDnsProjectNameServer">
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment