Harnessing the Power of DNS over HTTPS (DoH) for Internet Security and Pie-Hole Advertisement Blockers for Bandwidth Conservation
- 1 Directorate of ICT Services, Network and Infrastructure Section, University of Cape Coast, Cape Coast, Ghana
- 2 Directorate of ICT Services, IT Training Section, University of Cape Coast, Cape Coast, Ghana
- 3 Directorate of ICT Services, IT Training Section, University of Cape Coast, Cape Coast, Ghana
Abstract
This study presents a rigorous empirical evaluation of DNS over HTTPS (DoH) and Pi-hole integration as a dual solution for modern internet security and efficiency challenges. Through multi-phase testing encompassing controlled lab environments, real-world ISP partnerships, and large-scale simulations, the research demonstrates that DoH provides complete protection against DNS hijacking while introducing only marginal latency increases of 12 - 20 ms. Field deployments revealed a 15% latency rise in throttled ISP networks, underscoring the impact of regional infrastructure on performance. Pi-hole delivered consistent 35% - 38% bandwidth savings across lab and production environments by blocking 92% of ad traffic, though a 5% performance trade-off for CDN-dependent content was identified—a nuance previously underreported in literature. The study advances existing research through real-world validation using Mozilla Rally telemetry and ISP traffic logs, which confirm DoH’s privacy benefits while exposing implementation challenges such as ISP interference. A novel mitigation framework combining Firebog blocklists with AI-driven allowlists reduced over-blocking incidents from 15% to 3% without compromising security, maintaining 89% protection against malicious domains. Scalability testing via GNS3 simulations proved the solution’s efficacy for networks up to 5000 devices, though enterprise deployments require load balancing to sustain performance. Quantitative metrics revealed 34% faster page loads post-implementation, while qualitative interviews highlighted Docker configuration complexities affecting 60% of non-technical users. These findings translate into tailored deployment protocols: SMEs benefit from cost-effective Pi-hole clusters with dynamic filtering, while larger organisations require hybrid DoH resolvers to balance security and quality of service. For policymakers, the study provides evidence supporting standardised encrypted DNS adoption, particularly in bandwidth-constrained regions where solutions like Africa’s Control D resolver mitigate performance penalties. By bridging the gap between controlled experiments and real-world viability, this work advances internet infrastructure literature while exposing critical operational trade-offs, equipping stakeholders with evidence-based strategies for secure, efficient networks.
- Lu, C., Liu, B., Li, Z., Hao, S., Duan, H., Zhang, M., et al . (2019) An End-to-End, Large-Scale Measurement of DNS-over-Encryption. Proceedings of the Internet Measurement Conference , Amsterdam, 21-23 October 2019, 22-35. https://doi.org/10.1145/3355369.3355580
- MontazeriShatoori, M., Davidson, L., Kaur, G. and Habibi Lashkari, A. (2020) Detection of Doh Tunnels Using Time-Series Classification of Encrypted Traffic. 2020 IEEE Int ernational Conf erence on Dependable , Autonomic and Secure Computing , Calgary, 17-22 August 2020, 63-70. https://doi.org/10.1109/dasc-picom-cbdcom-cyberscitech49142.2020.00026
- Alzighaibi, A.R. (2023) Detection of Doh Traffic Tunnels Using Deep Learning for Encrypted Traffic Classification. Computers , 12, Article 47. https://doi.org/10.3390/computers12030047
- Froehlich, A. and Ferguson, K. (2023) What Is Network Bandwidth and How Is It Measured? TechTarget.
- Ullevig, E. (2023) What is a “Pi-Hole”, and Why Do I Need One? History-Computer.
- Kristopher (2023) Pi-Hole vs AdGuard Home for ad Blocking: 12 Key Differences. HTPCBEGINNER LLC.
- Section (2023) Create a secure home connection using Pi-hole and Docker. Section.io.
- Cloudflare Inc (2023) DNS over TLS vs. DNS over HTTPS. Cloudflare.
- Böttger, T., Cuadrado, F., Antichi, G., Fernandes, E.L., Tyson, G., Castro, I., et al . (2019) An Empirical Study of the Cost of DNS-over-HTTPS. Proceedings of the Internet Measurement Conference , Amsterdam, 21-23 October 2019, 15-21. https://doi.org/10.1145/3355369.3355575
- Bumanglag, K. and Kettani, H. (2020) On the Impact of DNS over HTTPS Paradigm on Cyber Systems. 2020 3 rd International Conference on Information and Computer Technologies , San Jose, 09-12 March 2020, 494-499. https://doi.org/10.1109/icict50521.2020.00085
- Korner, I. (2023) Revolutionizing DNS Security: Cost-Effective deployment of DoH for ISPs. Radware.
- Stadler, K. (2023) How to Block Advertisements at the DNS Level Using Pi-Hole and OpenVPN on Ubuntu 16.04. Digital Ocean.
- Partridge, R. (2023) What is Pi-Hole & Why Would You Want to Use It? Tech Addressed.
- Kalman, G. (2023) 10 Common Web Security Vulnerabilities. Toptal.
- Lin, J. (2023) DoH and Phishing Risks: What You Need to Know Now. Techstrong Group.