This document discusses the development of a real-time analysis tool for DNS over HTTPS (DoH) traffic, utilizing machine learning algorithms to classify traffic as benign or malicious. The study achieved high performance metrics across various models, demonstrating the tool's effectiveness in enhancing network security and threat detection. The integration of artificial intelligence and the successful simulation of malicious requests indicate significant advancements in safeguarding user privacy and data security online.