Skip to content
/ cf-doh Public
forked from GangZhuo/cf-doh

Proxy google DoH by cloudflare workers.

Notifications You must be signed in to change notification settings

cakexxx/cf-doh

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cf-doh

Proxy Google DoH by cloudflare workers.

可结合 https://github.com/GangZhuo/dohclient 使用。

Step

  1. Install Wrangler

Following Cloudflare Workers Quick Start .

  1. Generate project by below command:
wrangler generate cf-doh https://github.com/GangZhuo/cf-doh
  1. Change wrangler.toml file with your "name" and "account_id".

The name field in this config file, which will map to your script’s deploy name (e.g. cf-doh.mysubdomain.workers.dev).

The account_id field can be find in your dashboard page.

  1. Publish project by below command:
wrangler publish

Usaging

After publshed, there are two APIs:

  • https://$yourName.$yourSubDommain.workers.dev/dns-query
  • https://$yourName.$yourSubDommain.workers.dev/resolve?

See document at Google DoH .

About

Proxy google DoH by cloudflare workers.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%