Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
GoikLectures
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Goik Martin
GoikLectures
Commits
6c221d56
Commit
6c221d56
authored
1 year ago
by
Goik Martin
Browse files
Options
Downloads
Patches
Plain Diff
Link supplements,
parent
c3dee912
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Doc/Sdi/Dns/dns.xml
+51
-31
51 additions, 31 deletions
Doc/Sdi/Dns/dns.xml
with
51 additions
and
31 deletions
Doc/Sdi/Dns/dns.xml
+
51
−
31
View file @
6c221d56
...
@@ -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>
sdi4
a
.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>
sdi
0
4a.
sdi4.
mi.hdm-stuttgart.de
</glossterm>
<glossdef>
<glossdef>
<para>
H
ost name.
</para>
<para>
Your first machine's h
ost 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
W
ebserver, see
<xref
<para><code>
www
</code>
4
(Future
w
ebserver, see
<xref
linkend=
"sdiApache"
/>
).
</para>
linkend=
"sdiApache"
/>
).
</para>
</listitem>
</listitem>
</itemizedlist>
</itemizedlist>
<para>
Test your configuration using
<code>
dig
</code>
<option>
@
<
your
<para>
Test your configuration using
<code>
dig
</code>
<option>
@
<
your
host-IP
>
</option>
<option>
...
</option>
. You should be able to
host-IP
>
</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>
sdi
0
4a.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"
>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment