every knowledge is belong to everyone

Category: Server Page 2 of 4

How to Setup DNS-Over-HTTPS using Pihole


In my previous article/tutorial, I’ve explained how to setup your own DNS-over-HTTPS (DoH) server using Nginx, Certbot, and dns-over-https. In this article I’ll explain to you how to add Pi-Hole into the mix to block the unwanted advertising.


Pi-Hole is made of 2 components: a PHP web interface and a DNS server. Both are open-source. The web interface let you add blacklist, whitelist and configure the DNS server. The DNS server is the one doing the heavy lifting, responding to the queries according to its configuration generated by the interface.

The name comes from the lightness of the application, it can run without problem on a raspberry pi in your own network.

How to setup your own DNS-Over-HTTPS (DoH) Server


Traditional DNS queries and responses are sent over UDP or TCP without encryption. This is vulnerable to eavesdropping and spoofing (including DNS-based Internet filtering). Responses from recursive resolvers to clients are the most vulnerable to undesired or malicious changes, while communications between recursive resolvers and authoritative name servers often incorporate additional protection. (Google)

Implement Cloudflare DNS Over HTTP (DoH) on Pihole

Cloudflare Service

It is the 1st of April, 2018. The people have awoken, ready to discover the most cringeworthy April Fools day “jokes” from the usual tech giants. It looks like Cloudflare has decided to join in this year – “Secure, privacy focused, incredibly fast DNS? Who are they trying to fool?”

How to add rc.local on Debian 9

On Debian 9, the traditional “rc.local” has been deprecated. For traditional Linux users and administrators, there is a way to get it back using SystemD. See the procedure below :

Install Letsencrypt SSL into Pi-Hole Server

بِسْمِ اللهِ الرَّحْمنِ الرَّحِيمِ-

Create A hostname record in your domain

We should create A Hostname Record in your Domain Panel, for example of mine, i add a hostname record on Cloudflare

I use Ubuntu 16.04 to install Pihole and here the steps to install Letsencrypt into the box

[email protected]:~# apt-get install letsencrypt

After install Letsencrypt into the box, you can continue the steps below

Page 2 of 4

Powered by WordPress & Theme by Anders Norén