New Update Run your RethinkDNS on Cloudflare Workers

LeMinhThanh

From LMT AntiMalware
Thread author
Verified
Developer
Well-known
Apr 11, 2020
305
2,094
579
Vietnam
What is RethinkDNS?

RethinkDNS is a fast, secure, private, transparent, configurable DNS resolver and a firewall. RethinkDNS works like NextDNS but NextDNS has a limit of only 300,000 requests/month.

And I hear someone said that RethinkDNS will not be free anymore 🤔

image-1024x388.png


RethinkDNS is open source and we can install it on Cloudflare Workers with 100k requests/day (so good!). So we will be able to use it freely without being limited like NextDNS.

Setup Github and Cloudflare

Fork this project: GitHub - serverless-dns/serverless-dns: The RethinkDNS resolver that deploys to Cloudflare Workers, Deno Deploy, and Fly.io

image-1-1024x436.png

Then click Action > I understand my workflows, go ahead and enable them.

Go to tab Workers on Cloudflare dashboard and set up a custom subdomain for your workers.

image-2-1024x486.png

Deploy your serverless application

Go to this link: Deploy to Cloudflare Workers and click Authorize Workers

Now go to Deploy to Cloudflare Workers again and you will need to enter Account ID and API Token.

Account ID:

Go to this site: https://dash.cloudflare.com/?to=/:account/workers and copy it.
image-3-1024x484.png

API Token:

Go to this site: https://dash.cloudflare.com/profile/api-tokens and set up like below.

image-4-1024x841.png
image-5-1024x638.png
image-6-1024x313.png

After you enter Account ID and API Token, click deploy and wait for some minutes. And tada, your application has been deployed successfully.

image-7-1024x474.png

Run your RethinkDNS

Go to this site: https://dash.cloudflare.com/?to=/:account/workers

image-9.png
image-10-1024x582.png

It will switch to the filter management screen, choose the right filter for you. Then will output the DOH URL to copy into the browser.

image-11-1024x566.png

Src: Run your RethinkDNS on Cloudflare Workers - LMT's blog
 
Last edited by a moderator:
  • Applause
Reactions: kylprq