Client Setup & Usage Examples
Once deployed, your DoHflare proxy is fully compliant with modern Secure DNS standards. You can configure your browsers to route DNS traffic through your edge node or test it via CLI tools.
1. Browser Configuration
Modern browsers natively support DNS over HTTPS. Here is how you can set up your private DoHflare instance:
- Microsoft Edge:
- Navigate to
edge://settings/privacy/security. - Scroll down to find and turn on Use secure DNS.
- Select Choose a service provider, and enter your Endpoint URL in the text box.
- Navigate to
- Google Chrome:
- Navigate to
chrome://settings/security. - Turn on Use secure DNS.
- In the Select DNS provider dropdown, choose Add custom DNS service provider, and enter your Endpoint URL in the text box.
- Navigate to
(Note: The steps above are for reference only, as browser interfaces may change with updates. For other browsers like Firefox, Safari, or Brave, please search online for specific DoH configuration guides.)
2. Using natesales/q
q is recommended for testing DoH endpoints. It handles DoH encapsulation natively and produces dig-like output.
bash
# Test a standard A record query
q A cloudflare.com @https://<YOUR_WORKER_DOMAIN>/dns-query