How can I create and develop a DNS server, similar to Adguard DNS or CloudFlare 1.1.1.1?

Jessica64

Member
May 3, 2022
42
22
8
Hello Babiato member. Hope you guys are fine!

My name is Jessica and I'm having a little problem. A question where I can't find a simple answer.

How can I develop my own DNS server? Which Linux distribution or system should I use to create inbound or outbound rules. And even redirect some sites?
 

Jessica64

Member
May 3, 2022
42
22
8
The easiest way is install a panel like plesk or hestia that come with a dns section
I did a little research on what you suggested and realized that this is not quite what I'm looking for.

Let me try to be more specific... I'm trying to find a way to support a DNS server for a small ISP. I need this server to support incoming and outgoing rules, (Allowing and blocking sites). And caching websites for faster loading (caching within the server).
 

nwrk

Member
Oct 21, 2020
50
41
18
I belie following project does what you need.


<code>
docker run --restart=always \
-p 53:53/tcp -p 53:53/udp \
-e DEBUG=0 \
-e NS1=1.1.1.1 -e NS2=1.0.0.1 \
-e AUTO_UPDATE=1 \
-e BRANCH=master \
-e DNSCRYPT=0 \
-v </path/to/config>:/config \
oznu/dns-ad-blocker
</code>
 
  • Love
Reactions: Jessica64

About us

  • Our community has been around for many years and pride ourselves on offering unbiased, critical discussion among people of all different backgrounds. We are working every day to make sure our community is one of the best.

Quick Navigation

User Menu