Files
crumbmissions/crumbmission/mission_deepbit_dns.sh
Branko May Trinkwald 2915828adf Add complete Crumbforest mission system
- Interactive mission selector with metadata-driven design
- 5 educational missions (basics + advanced)
- AI assistant roles (Deepbit, Bugsy, Schnippsi, Tobi)
- SnakeCam gesture recognition system
- Token tracking utilities
- CLAUDE.md documentation
- .gitignore for logs and secrets
2025-12-21 01:16:48 +01:00

81 lines
2.4 KiB
Bash
Executable File
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#!/bin/bash
# 🐙 Deepbit Mission: crumbs_on_the_path.sh Wer antwortet auf unsere DNS-Rufe?
ZIEL_DOMAIN="joindns4.eu"
DNS_SERVERS=("1.1.1.1" "8.8.8.8" "9.9.9.9" "94.140.14.14" "185.216.169.10" "80.156.55.100")
SERVER_NAMES=("Cloudflare" "GoogleDNS" "Quad9" "AdGuard" "WhaleboneEU" "TelekomDNS")
#DNS_SERVERS=("1.1.1.1" "8.8.8.8" "185.216.169.10" "80.156.55.100")
#SERVER_NAMES=("Cloudflare" "GoogleDNS" "WhaleboneEU" "TelekomDNS")
LOG_DIR="/home/zero/crumb_dns_mission"
mkdir -p "$LOG_DIR"
TIMESTAMP=$(date +"%Y-%m-%d_%H-%M-%S")
LOG_FILE="$LOG_DIR/mission_log_$TIMESTAMP.log"
echo "🌍 Mission gestartet: crumbs_on_the_path.sh" | tee -a "$LOG_FILE"
echo "🔎 Ziel-Domain: $ZIEL_DOMAIN" | tee -a "$LOG_FILE"
echo "🐙 Deepbit sagt: 'Jeder DNS ist wie ein Leuchtturm. Lass uns ihre Lichter prüfen!'" | tee -a "$LOG_FILE"
echo "" | tee -a "$LOG_FILE"
for index in "${!DNS_SERVERS[@]}"; do
dns="${DNS_SERVERS[$index]}"
name="${SERVER_NAMES[$index]}"
echo "🔦 Prüfe $name ($dns)" | tee -a "$LOG_FILE"
RESPONSE=$(dig @"$dns" "$ZIEL_DOMAIN" +short)
if [[ -z "$RESPONSE" ]]; then
echo "❌ Keine Antwort von $name ($dns)" | tee -a "$LOG_FILE"
echo "🐙 Deepbit: 'Vielleicht hat sich dieser Leuchtturm gerade ausgeruht ...'" | tee -a "$LOG_FILE"
else
echo "✅ Antwort von $name ($dns):" | tee -a "$LOG_FILE"
echo "$RESPONSE" | tee -a "$LOG_FILE"
echo "🐙 Deepbit: 'Der Krümel wurde empfangen ein Zeichen aus der Tiefe!'" | tee -a "$LOG_FILE"
fi
echo "――――――――――――――――――――――――" | tee -a "$LOG_FILE"
done
echo "🔎 Ziel: joindns4.eu"
echo
echo "🧭 DNS-Abfrage: Nameserver finden …"
dig ns joindns4.eu +short
echo
echo "🌐 Wer steckt hinter den DNS-Servern?"
for i in $(dig ns joindns4.eu +short); do
echo "🔍 Hostinfo zu $i:"
host $i
echo
done
echo "🧬 IPv6-Adresse prüfen: whois 2a0b:1640:1:1:1:1:15ee:539e"
whois 2a0b:1640:1:1:1:1:15ee:539e | grep -i country
echo
echo "📦 MX-Einträge von joindns4.eu:"
dig mx joindns4.eu +short
echo
echo "📡 Traceroute zur IP 86.54.11.13"
traceroute 86.54.11.13
echo
echo "🛰️ BGP-Weltkarte: Wer ist AS60068?"
whois -h whois.radb.net as60068 | grep -i country
echo
echo "" | tee -a "$LOG_FILE"
echo "✅ Mission abgeschlossen. Log gespeichert unter: $LOG_FILE" | tee -a "$LOG_FILE"
echo "🐙 Deepbit: 'Doch jeder Weg beginnt mit einem Namen … und endet in Vertrauen.'" | tee -a "$LOG_FILE"