{"repo":"miantiao-me/DNS.Surf","free":true,"listed":false,"github":"https://github.com/miantiao-me/DNS.Surf","clone":"git clone https://github.com/miantiao-me/DNS.Surf.git","description":"Querying DNS Resolution Results in Different Regions Worldwide.","language":"TypeScript","stars":408,"topics":["dns","doh","nextjs","vercel","hacktoberfest"],"license":"AGPL-3.0","category":"networking-infra","readme_excerpt":"DNS.Surf Querying DNS Resolution Results in Different Regions Worldwide. --- English 简体中文 Demo Vercel Cloudflare How It Works Vercel Vercel's Edge Functions support custom deployment regions. By querying DNS records through DoH, we can obtain global DNS resolution results. Theoretically supports 18 countries or regions. Cloudflare Cloudflare Workers are deployed globally. By accessing Workers in specific regions and using DoH to query DNS records, we can obtain global DNS resolution results. Theoretically supports 120+ countries and 330+ cities. Deployment Supports deployment to either Vercel or Cloudflare, independently. Deploy to Vercel 1. Fork the project to your GitHub 2. Create a new project on Vercel 3. Select the DNS.Surf project and Next.js framework 4. Save and deploy 5. Bind a domain (optional) Deploy to Cloudflare 1. Fork the project to your GitHub 2. Create a Worker locally using npm run deploy -- --var \"CORS ORIGIN:dns.surf\" \"WORKER HOST:dns.html.zone\" . Please modify the variable value: $CORS ORIGIN to the domain name of your web page for cross-origin verification, and $WORKER HOST to the access domain name of your Worker for source retrieval. 3. Link the Worker to GitHub in Cloudflare Dashboard and configure build script npm run deploy -- --var \"CORS ORIGIN:dns.surf\" \"WORKER HOST:dns.html.zone\" 4. Configure DNS resolution 1. After copying the ENV file locally using cp .env.example .env 2. Modify WORKER HOST to the access domain of the Worker, CLOUDFLARE ZONE ID","default_branch":null,"files":null,"tree":[],"storefront":"/r/miantiao-me","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/miantiao-me/DNS.Surf/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}