A tool for analyzing AdGuard Home DNS queries with graphical visualization and domain frequency statistics.
- Load JSON logs from AdGuard Home.
- Search and visualize query frequency for a specific domain.
- Display the most queried domains and client statistics.
- Python 3.x
- Required dependencies:
pip install matplotlib tldextract
-
Run the main application (Graphical Interface):
python analyzer.py
- Load an AdGuard query log file.
- Search for a domain to visualize its query frequency.
-
Run
topqueries.pyfor command-line statistics:python topqueries.py
- Displays the top 10 queried domains.
- Shows the most queried domains per client IP.
- Track which domains are being queried the most on your network.
- Identify excessive queries to specific domains, which could indicate tracking, malware, or unnecessary traffic.
- Detect unusual spikes in DNS queries to unknown or suspicious domains.
- Check if a specific device is making an unusual number of requests to a certain domain.
- Review which websites are being accessed frequently.
- Monitor and fine-tune AdGuard’s filtering settings based on real usage data.
- Identify slow-loading or frequently queried domains that may be affecting network performance.
- Optimize DNS blocking rules for a better browsing experience.
- Determine whether DNS queries are being properly blocked or resolved.
- Analyze failed queries to diagnose connectivity issues.
analyzer.py- GUI application for visualizing query data.topqueries.py- Command-line tool for analyzing top queried domains.adguard_queries.json- Example JSON log file (not included).
When searching for a domain, the tool generates a query frequency graph:
This project is licensed under the MIT License.
