feature: DNS cache + subdomain CRUD + domains cleanup

This commit is contained in:
ecki
2026-03-27 11:31:42 +01:00
parent 49ae3a5c29
commit 0329c67904
4 changed files with 372 additions and 228 deletions
+9 -1
View File
@@ -1,8 +1,9 @@
document.addEventListener("DOMContentLoaded", async () => {
clearDNSCache()
await refreshAll()
setInterval(refreshAll, 30000)
setInterval(refreshAll, 60000)
})
@@ -31,3 +32,10 @@ async function refreshAll(){
refreshing = false
}
function clearDNSCache(){
for(const key in dnsCache){
delete dnsCache[key]
}
}