DNS over HTTPS
Last updated May 5, 2026 DNS over HTTPS (DoH) encrypts DNS queries by wrapping them inside regular HTTPS requests. This prevents attackers from forging or altering your DNS traffic.
DoH sends DNS traffic over port 443 — the default port for HTTPS web traffic. Because DoH queries use the same port and protocol as normal web browsing, they are difficult to distinguish from other HTTPS traffic on the network.
DoH supports the HTTP, HTTP/2, and HTTP/3 protocols.
Was this helpful?
YesNo
On this page
{"@context":"https://schema.org","@type":"TechArticle","@id":"https://developers.cloudflare.com/1.1.1.1/encryption/dns-over-https/#page","headline":"DNS over HTTPS","description":"Encrypt DNS queries using HTTPS with 1.1.1.1.","url":"https://developers.cloudflare.com/1.1.1.1/encryption/dns-over-https/","inLanguage":"en","image":"https://developers.cloudflare.com/1.1.1.1/encryption/dns-over-https/og.png?v=dc8b3f9e6cab759e","dateModified":"2026-05-05","publisher":{"@type":"Organization","name":"Cloudflare","description":"One platform for your apps, agents, and workforce. Build, secure, and scale without managing infrastructure","url":"https://www.cloudflare.com/","sameAs":["https://github.com/cloudflare","https://www.linkedin.com/company/cloudflare","https://x.com/cloudflare"],"logo":{"@type":"ImageObject","url":"https://developers.cloudflare.com/logo.svg"},"address":{"@type":"PostalAddress","streetAddress":"101 Townsend St","addressLocality":"San Francisco","addressRegion":"CA","postalCode":"94107","addressCountry":"US"},"contactPoint":[{"@type":"ContactPoint","contactType":"Customer Support","url":"https://support.cloudflare.com/","availableLanguage":["English"]},{"@type":"ContactPoint","contactType":"Sales","url":"https://www.cloudflare.com/contact/","availableLanguage":["English"]}]},"isPartOf":{"@type":"WebSite","@id":"https://developers.cloudflare.com/#website","name":"Cloudflare Docs","url":"https://developers.cloudflare.com/"}}
description: Learn how to connect to Cloudflare's 1.1.1.1 using DNS over HTTPS (DoH) clients. title: Connect to 1.1.1.1 using DoH clients image: https://developers.cloudflare.com/1.1.1.1/encryption/dns-over-https/dns-over-https-client/og.png?v=abbd6e081f3ae687
Documentation Index
Fetch the complete documentation index at: https://developers.cloudflare.com/1.1.1.1/llms.txt
Use this file to discover all available pages before exploring further.
Docs