Skip to content

Latest commit

 

History

History
15 lines (13 loc) · 1.8 KB

README.md

File metadata and controls

15 lines (13 loc) · 1.8 KB

GitHub last commit GitHub repo size Hits

Control D

These JSON files can be uploaded to Control D as custom rule folders.

Paste the code from the JS file into a worker at Cloudflare.

  • DNS over HTTPS
    • Using a Cloudflare worker with a custom domain(s), you can potentially circumvent network blocks preventing you from connecting directly to Control D resolvers.
    • Change the hostnames and resolver paths, add/remove IF statements, etc. to suit your needs. For example, on your device, you'd configure https://resolver2.example.net as your DoH resolver.
    • The *.example.net hostnames are the route(s) you've configured at Cloudflare for the worker. The doh variable within a given IF statement is the Control D resolver you want that particular example.net hostname associated with.
    • The caveat with this is that Control D will see the queries as coming from whatever edge server Cloudflare sees fit to use at the moment. Given that, if you rely on ECS, it will be based upon the Control D resolver that Cloudflare happens to connect to based on which of their edge servers is handling your worker request at the time.