mirror of
https://github.com/MrUnknownDE/utools.git
synced 2026-04-06 00:32:04 +02:00
252 lines
8.9 KiB
HTML
252 lines
8.9 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="de">
|
|
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title>DNS Lookup - uTools</title>
|
|
<!-- Tailwind CSS Play CDN -->
|
|
<script src="https://cdn.tailwindcss.com"></script>
|
|
<!-- Eigene Styles -->
|
|
<style>
|
|
/* Einfacher Lade-Spinner (Tailwind animiert) */
|
|
.loader {
|
|
border: 4px solid rgba(168, 85, 247, 0.1);
|
|
/* Lila sehr transparent */
|
|
border-left-color: #d8b4fe;
|
|
/* Helleres Lila */
|
|
border-radius: 50%;
|
|
width: 24px;
|
|
height: 24px;
|
|
animation: spin 1s linear infinite;
|
|
}
|
|
|
|
@keyframes spin {
|
|
to {
|
|
transform: rotate(360deg);
|
|
}
|
|
}
|
|
|
|
/* Glassmorphism Utilities */
|
|
.glass-panel {
|
|
background: rgba(17, 24, 39, 0.7);
|
|
backdrop-filter: blur(12px);
|
|
-webkit-backdrop-filter: blur(12px);
|
|
border: 1px solid rgba(255, 255, 255, 0.05);
|
|
}
|
|
|
|
.glass-card {
|
|
background: rgba(31, 41, 55, 0.6);
|
|
backdrop-filter: blur(8px);
|
|
-webkit-backdrop-filter: blur(8px);
|
|
border: 1px solid rgba(255, 255, 255, 0.05);
|
|
transition: transform 0.3s ease, box-shadow 0.3s ease;
|
|
}
|
|
|
|
.glass-card:hover {
|
|
transform: translateY(-2px);
|
|
box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
|
|
}
|
|
|
|
/* Animations */
|
|
@keyframes fadeIn {
|
|
from {
|
|
opacity: 0;
|
|
transform: translateY(10px);
|
|
}
|
|
|
|
to {
|
|
opacity: 1;
|
|
transform: translateY(0);
|
|
}
|
|
}
|
|
|
|
.fade-in {
|
|
animation: fadeIn 0.5s ease-out forwards;
|
|
}
|
|
|
|
/* Ergebnis-Pre-Formatierung */
|
|
.result-pre {
|
|
white-space: pre-wrap;
|
|
word-break: break-all;
|
|
font-family: 'Courier New', Courier, monospace;
|
|
background-color: rgba(0, 0, 0, 0.3);
|
|
color: #e5e7eb;
|
|
padding: 1rem;
|
|
border-radius: 0.375rem;
|
|
max-height: 400px;
|
|
overflow-y: auto;
|
|
font-size: 0.875rem;
|
|
border: 1px solid rgba(255, 255, 255, 0.05);
|
|
box-shadow: inset 0 2px 4px 0 rgba(0, 0, 0, 0.3);
|
|
}
|
|
|
|
/* Scrollbar Styling */
|
|
::-webkit-scrollbar {
|
|
width: 8px;
|
|
height: 8px;
|
|
}
|
|
|
|
::-webkit-scrollbar-track {
|
|
background: rgba(31, 41, 55, 0.5);
|
|
}
|
|
|
|
::-webkit-scrollbar-thumb {
|
|
background: #4b5563;
|
|
border-radius: 4px;
|
|
}
|
|
|
|
::-webkit-scrollbar-thumb:hover {
|
|
background: #6b7280;
|
|
}
|
|
|
|
/* Navigations-Styling */
|
|
nav ul {
|
|
list-style: none;
|
|
padding: 0;
|
|
margin: 0;
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 0.5rem;
|
|
}
|
|
|
|
nav a {
|
|
color: #d1d5db;
|
|
text-decoration: none;
|
|
padding: 0.5rem 1rem;
|
|
border-radius: 0.5rem;
|
|
transition: all 0.2s ease;
|
|
position: relative;
|
|
overflow: hidden;
|
|
background: rgba(255, 255, 255, 0.03);
|
|
border: 1px solid rgba(255, 255, 255, 0.05);
|
|
}
|
|
|
|
nav a:hover {
|
|
color: #fff;
|
|
background: rgba(168, 85, 247, 0.2);
|
|
border-color: rgba(168, 85, 247, 0.4);
|
|
box-shadow: 0 0 15px rgba(168, 85, 247, 0.1);
|
|
}
|
|
|
|
nav a.active-link {
|
|
background: rgba(168, 85, 247, 0.3);
|
|
color: #fff;
|
|
border-color: #a855f7;
|
|
}
|
|
|
|
header {
|
|
background: rgba(31, 41, 55, 0.4);
|
|
backdrop-filter: blur(10px);
|
|
padding: 1.5rem;
|
|
margin-bottom: 2rem;
|
|
border-radius: 1rem;
|
|
border: 1px solid rgba(255, 255, 255, 0.05);
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
gap: 1rem;
|
|
box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
|
|
}
|
|
|
|
@media (min-width: 768px) {
|
|
header {
|
|
flex-direction: row;
|
|
justify-content: space-between;
|
|
}
|
|
}
|
|
|
|
header h1 {
|
|
background-clip: text;
|
|
}
|
|
|
|
.text-gradient {
|
|
background: linear-gradient(to right, #c084fc, #e879f9);
|
|
-webkit-background-clip: text;
|
|
background-clip: text;
|
|
-webkit-text-fill-color: transparent;
|
|
}
|
|
|
|
.hidden {
|
|
display: none !important;
|
|
}
|
|
</style>
|
|
</head>
|
|
|
|
<body
|
|
class="bg-gray-950 text-gray-100 font-sans p-4 md:p-8 min-h-screen bg-[url('https://tailwindcss.com/_next/static/media/hero-dark.939eb757.png')] bg-cover bg-center bg-fixed selection:bg-purple-500 selection:text-white">
|
|
|
|
<header class="glass-panel">
|
|
<h1>uTools <span class="text-sm font-normal text-gray-400 opacity-75 tracking-wider uppercase ml-2">Network
|
|
Suite</span></h1>
|
|
<nav>
|
|
<ul>
|
|
<li><a href="/">IP Info & Tools</a></li>
|
|
<li><a href="/subnet">Subnetz Rechner</a></li>
|
|
<li><a href="/dns" class="active-link">DNS Lookup</a></li>
|
|
<li><a href="/whois">WHOIS Lookup</a></li>
|
|
<li><a href="/mac">MAC Lookup</a></li>
|
|
<li><a href="/asn">ASN Lookup</a></li>
|
|
</ul>
|
|
</nav>
|
|
</header>
|
|
|
|
<div
|
|
class="container mx-auto max-w-5xl glass-panel rounded-xl shadow-2xl p-6 md:p-8 backdrop-blur-xl border border-gray-800/50">
|
|
|
|
<h1 class="text-3xl font-bold mb-8 text-center text-gradient glitch-text">DNS Lookup</h1>
|
|
|
|
<!-- Bereich für DNS Lookup -->
|
|
<div class="mt-8 p-6 glass-card rounded-xl">
|
|
<div class="flex flex-col sm:flex-row gap-3 mb-6">
|
|
<input type="text" id="dns-domain-input" placeholder="Enter domain name (e.g., google.com)"
|
|
class="flex-grow px-4 py-3 bg-gray-900/50 border border-gray-700/50 rounded-lg text-gray-200 focus:outline-none focus:ring-2 focus:ring-purple-500 focus:border-transparent font-mono transition-all placeholder-gray-600">
|
|
<select id="dns-type-select"
|
|
class="px-4 py-3 bg-gray-900/50 border border-gray-700/50 rounded-lg text-gray-200 focus:outline-none focus:ring-2 focus:ring-purple-500 focus:border-transparent cursor-pointer">
|
|
<option value="ANY">ANY</option>
|
|
<option value="A">A</option>
|
|
<option value="AAAA">AAAA</option>
|
|
<option value="MX">MX</option>
|
|
<option value="TXT">TXT</option>
|
|
<option value="NS">NS</option>
|
|
<option value="CNAME">CNAME</option>
|
|
<option value="SOA">SOA</option>
|
|
<option value="SRV">SRV</option>
|
|
<option value="PTR">PTR (Reverse)</option>
|
|
</select>
|
|
<button id="dns-lookup-button"
|
|
class="bg-gradient-to-r from-purple-600 to-pink-600 hover:from-purple-500 hover:to-pink-500 text-white font-bold py-3 px-6 rounded-lg shadow-lg hover:shadow-purple-500/25 transition-all duration-200 ease-in-out transform hover:-translate-y-0.5">
|
|
Lookup DNS
|
|
</button>
|
|
</div>
|
|
<div id="dns-lookup-error"
|
|
class="text-red-400 mb-4 hidden p-3 bg-red-900/20 border border-red-500/30 rounded"></div>
|
|
<div id="dns-lookup-results-section" class="hidden mt-6 border-t border-gray-700/50 pt-6 fade-in">
|
|
<h3 class="text-lg font-semibold text-purple-300 mb-4 flex items-center gap-2">
|
|
<div class="w-1.5 h-6 bg-purple-500 rounded-full"></div>
|
|
DNS Results for: <span id="dns-lookup-query" class="font-mono text-purple-400 ml-1"></span>
|
|
</h3>
|
|
<div id="dns-lookup-loader" class="loader hidden mb-4"></div>
|
|
<pre id="dns-lookup-output" class="result-pre custom-scrollbar"></pre> <!-- Ergebnisbereich -->
|
|
</div>
|
|
</div>
|
|
|
|
<!-- Globaler Fehlerbereich -->
|
|
<div id="global-error"
|
|
class="mt-6 p-4 bg-red-900/50 border border-red-500/50 text-red-100 rounded-lg hidden backdrop-blur shadow-lg">
|
|
</div>
|
|
|
|
<!-- Footer für Version -->
|
|
<footer class="mt-12 pt-6 border-t border-gray-700/30 text-center text-xs text-gray-500">
|
|
<p>© 2025 <a href="https://mrunk.de"
|
|
class="text-purple-400 hover:text-purple-300 transition-colors">MrUnknownDE</a></p>
|
|
<p class="mt-1">Version: <span id="commit-sha" class="font-mono text-gray-400">loading...</span></p>
|
|
</footer>
|
|
|
|
</div>
|
|
|
|
<!-- Eigene JS-Logik für diese Seite -->
|
|
<script src="dns-lookup.js"></script>
|
|
</body>
|
|
|
|
</html> |