/nextdns-browser

A web app & server to capture and display log messages from NextDNS.

Primary LanguageTypeScriptGNU General Public License v3.0GPL-3.0

NextDNS Log Viewer

This is a simple little app to capture logs from the NextDNS service API and present them in a searchable format for review.

Rationale for this App

I signed up for the NextDNS service to allow ad blocking and parental controls on our local area network. I set up a local DNS server with the NextDNS proxy. I wanted a way to monitor the usage of our network, but NextDNS's online logging left a lot to be desired -- it basically just provided a list of requests which was very difficult to filter. Specifically, you couldn't filter by device. Once NextDNS released their public API, I started this project to remedy that.

Note: after this project was started, NextDNS released some updates to their web interface that make it possible to filter by device.

Technology

Backend: NestJS server which captures streamed log entries from NextDNS, stores them in a local database, and serves them to a simple web front end. Streaming log entries are handled in an event-driven architecture; first pushed to a RabbitMQ queue then handled when resources are available and inserted into a MariaDB database (although in production I am considering using an Amazon RDB instance).

Frontend: A Vite application which provides rudimentary filtering and searching of log entries.