diff --git a/scripts/pi-hole/js/messages.js b/scripts/pi-hole/js/messages.js index a480d550..670b78ee 100644 --- a/scripts/pi-hole/js/messages.js +++ b/scripts/pi-hole/js/messages.js @@ -139,6 +139,19 @@ function renderMessage(data, type, row) { "" ); + case "DOMAIN_RATE_LIMIT": + return ( + "Client " + + utils.escapeHtml(row.blob1) + + " has been rate-limited for domain " + + utils.escapeHtml(row.message) + + " (current config allows up to " + + parseInt(row.blob2, 10) + + " queries per client and domain in " + + parseInt(row.blob3, 10) + + " seconds)" + ); + default: return "Unknown message type
" + JSON.stringify(row) + "
"; }