Version 1.0.0 • Build 2026.11
← Zurück zum Dashboard
DNS-SHIELD
© Copyright 2026 by
www.d-empires.de
🛡️ DNS-Shield • Rekursiver Root-Resolver & Werbeblocker● DNS aktiv auf :53

DNS-Übersicht

Anfragen
0
Live im Puffer
🌐
Blockiert
0
0 % aller Anfragen
🛡️
Aus dem Cache
0
0 % sofort beantwortet
⚡
Clients
0
verschiedene IPs
🖥️
Ø Resolver
12,4 ms
Unbound Root-Server
⏱️
Blocklisten
0
Domains im Schutz
📋
📊 Anfragen im Zeitverlauf
Erlaubt Blockiert
☁️ Upstream-Server ?
Schnellste (automatisch) • 1
Anfragen ins Internet gehen über den eingestellten Root-Resolver oder Upstream-Server.
Unbound Root-Resolver DNSSEC Online wird gefragt
dns://127.0.0.1:5335
Ø — Schnellster bei 100 %
Lokale Namen und Gerätenamen: Automatische Erkennung
⚡ DNS-Cache
Optimistisch
Häufige Domains werden kurz vor Ablauf automatisch erneuert und in <1 ms beantwortet.
Trefferquote0 %
Einträge0 von 10.000
Eingesparte Wartezeit0,0 Sek.
Zähler seit letztem Start
🚫 Top blockierte Domains
Top 10
✅ Top erlaubte Domains
Top 10
🖥️ Top Clients
Top 10
`); w.document.close(); } async function genGroupTickets(gi, count, minutes) { await fetch('/api/dns/tickets/generate', {method:'POST', headers:{'Content-Type':'application/json'}, body:JSON.stringify({group_index: gi, count, minutes})}); load(); } async function resetGroupBonus(gi) { await fetch('/api/dns/tickets/reset-bonus', {method:'POST', headers:{'Content-Type':'application/json'}, body:JSON.stringify({group_index: gi})}); load(); } async function resetClientBonus(gi, client_ip) { await fetch('/api/dns/tickets/reset-bonus', {method:'POST', headers:{'Content-Type':'application/json'}, body:JSON.stringify({group_index: gi, client_ip})}); load(); } function grantClientBonus(gi, cip, mins) { const nowSec = Math.floor(Date.now() / 1000); const ct = window.st.parental_groups[gi].client_timers = window.st.parental_groups[gi].client_timers || {}; const rec = ct[cip] = ct[cip] || {used_today_min: 0, bonus_started: 0, bonus_until: 0}; const cur = Number(rec.bonus_until || 0); if (cur <= nowSec) rec.bonus_started = nowSec; rec.bonus_until = Math.max(cur, nowSec) + (mins * 60); saveAll(); } function tickGroupBonusBars() { const now = Date.now() / 1000; document.querySelectorAll('.grp-bonus-wrap').forEach(el => { const until = Number(el.dataset.until || 0); const started = Number(el.dataset.started || 0); const rem = Math.max(0, Math.floor(until - now)); if (rem <= 0) { el.style.display = 'none'; return; } el.style.display = 'block'; const h = Math.floor(rem / 3600), m = Math.floor((rem % 3600) / 60), s = rem % 60; const clk = el.querySelector('.grp-bonus-clk'); if (clk) clk.innerText = [h, m, s].map(v => String(v).padStart(2, '0')).join(':'); const tot = Math.max(1, until - started); const pct = Math.min(100, Math.max(2, Math.round((rem / tot) * 100))); const bar = el.querySelector('.grp-bonus-bar'); if (bar) bar.style.width = pct + '%'; }); document.querySelectorAll('.cli-timer-card').forEach(card => { const until = Number(card.dataset.until || 0); const started = Number(card.dataset.started || 0); const row = card.querySelector('.cli-bonus-row'); if (!row) return; const rem = Math.max(0, Math.floor(until - now)); if (rem <= 0) { row.style.display = 'none'; return; } row.style.display = 'block'; const h = Math.floor(rem / 3600), m = Math.floor((rem % 3600) / 60), s = rem % 60; const clk = row.querySelector('.cli-bonus-clk'); if (clk) clk.innerText = [h, m, s].map(v => String(v).padStart(2, '0')).join(':'); const tot = Math.max(1, until - started); const pct = Math.min(100, Math.max(2, Math.round((rem / tot) * 100))); const bar = row.querySelector('.cli-bonus-bar'); if (bar) bar.style.width = pct + '%'; }); } setInterval(tickGroupBonusBars, 1000); function grantInstantBonus(gi, mins) { const nowSec = Math.floor(Date.now() / 1000); const cur = Number(window.st.parental_groups[gi].bonus_until || 0); if (cur <= nowSec) window.st.parental_groups[gi].bonus_started = nowSec; window.st.parental_groups[gi].bonus_until = Math.max(cur, nowSec) + (mins * 60); saveAll(); } function remGroupDom(gi, di) { window.st.parental_groups[gi].custom_domains.splice(di, 1); saveAll(); } async function saveAll() { await fetch('/api/dns/save',{method:'POST',headers:{'Content-Type':'application/json'},body:JSON.stringify(window.st)}); load(); } window.activeClientIp = null; function openClientModal(ip) { window.activeClientIp = ip; const cname = (window.clientNames && window.clientNames[ip]) || ""; document.getElementById('cm-rename').value = cname; renderClientModal(ip); document.getElementById('client-modal').style.display = 'flex'; } function closeClientModal() { window.activeClientIp = null; document.getElementById('client-modal').style.display = 'none'; } function renderClientModal(ip) { const cname = (window.clientNames && window.clientNames[ip]) || ""; document.getElementById('cm-title').innerText = cname || ip; document.getElementById('cm-ip').innerText = ip; const rows = (window.dnsLogs || []).filter(x => x.client === ip); const blk = rows.filter(x => x.status === 'Blockiert').length; document.getElementById('cm-tot').innerText = rows.length; document.getElementById('cm-ok').innerText = rows.length - blk; document.getElementById('cm-blk').innerText = blk; document.getElementById('cm-logs').innerHTML = rows.length ? rows.map(r => { const bCls = r.status === 'Blockiert' ? 'b-err' : (r.status === 'Cache' ? 'b-warn' : 'b-ok'); return `${r.ts}${r.domain}${r.type}${r.status}${r.dur}`; }).join('') : 'Keine aktuellen Log-Einträge für diesen Client.'; } async function saveClientAlias() { if (!window.activeClientIp) return; const name = document.getElementById('cm-rename').value.trim(); await fetch('/api/dns/client-name', {method:'POST', headers:{'Content-Type':'application/json'}, body:JSON.stringify({ip: window.activeClientIp, name})}); await load(); } load(); setInterval(() => { if (document.getElementById('log-live')?.checked) load(); }, 2000);