fix: typos and solutions
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2021-11-17 20:56:05 +01:00
parent 885a7e4e67
commit 29c47fb20f
4 changed files with 82 additions and 7 deletions

50
solutions/03-network.sh Normal file
View File

@ -0,0 +1,50 @@
# Aufgabe 2a
ip route
# Aufgabe 2b
## Server A (ROUTER)
Zielnetz Interface Gateway
10.0.1.0/24 eth0 -
172.16.0.0/24 eth0 10.0.1.4
172.16.2.0/24 eth0 10.0.1.4
192.168.178/24 eth0 10.0.1.4
77.48.44.198/32 pppoe1 -
0.0.0.0/0 pppeo1 77.48.44.198
## Server B
Zielnetz Interface Gateway
10.0.1.0/24 eth0
172.16.0.0/24 eth1
172.16.2.0/24 eth1 172.16.0.254
192.168.178.0/24 eth1 172.16.0.254
10.0.1.1/32 eth0 -
0.0.0.0/0 eth0 10.0.1.1
## PC A
Zielnetz Interface Gateway
172.16.0.0/24 enp3s11
172.16.2.0/24 enp4s1
192.168.178.0/24 enp4s1 172.16.2.10
172.16.0.100/32 enp3s11 -
0.0.0.0/0 enp3s11 172.16.0.100
## PC B
Zielnetz Interface Gateway
172.16.2.0/24 ens11
192.168.178.0/24 ens8
172.16.2.254/32 ens11 -
0.0.0.0/0 ens11 172.16.2.254
## PC C
Zielnetz Interface Gateway
192.168.178.0/24 ens3
192.168.178.1/32 ens3 -
0.0.0.0/0 ens3 192.168.178.1

25
solutions/04-dns.sh Normal file
View File

@ -0,0 +1,25 @@
#!/bin/bash
# Aufgabe 2a
#
# Bei DNSOverTLS oder wenn die Datenpakete größer sind als die maximale größe
# für UDP Pakete.
# Aufgabe 2b
dig SSHFP pontos.cryptic.systems @8.8.8.8
# Aufgabe 2c
dig NS cryptic.systems
# Aufgabe 2d
pontos.cryptic.systems # primary, da in SOA enthalten
ourea.cryptic.systems # slave, da nicht in SOA enthalten
# Aufgabe 2e/f
dig MX cryptic.systems
smtp1.cryptic.systems # primary
smtp2.cryptic.systems # slave
# Aufgabe 2g
dig -x 45.9.61.170