DNS wall climbing for beginner
This quick guide will teach you how to use CDN to front DoH server using Amazon CloudFront.
The benefit this provides over other method is the difficulty of the censor to block this kind of setup without blocking the whole CDN provider.
Requirements:
AWS Account
Browser / OS / resolver supporting DoH
Login to your AWS account and search for CloudFront. Create a new distribution.
Refer to the setting below and put in your desired DoH server:

After you are done creating the distribution, wait for it to finish deploying:

Put the address and the full path into your browser / OS / resolver:

Finally test your resolver:

DNS wall climbing stealth setup
This is a setup for people who are already using CloudFront for their business and wish to hide DoH inside it.
I am using ControlD here instead of Cloudflare DNS. The "/dns-query" in cloudflare is "/p0" in controld.
First add an Origin like below:

Then add a Behavior:

Wait for it to finish deploying. You will access it via https://mydomain.com/bkaj41f
For people wondering what is my "DoH-fronting" policy, here is it:

Sep 4 2024, 07:25 PM
Quote


0.0247sec
1.03
6 queries
GZIP Disabled