---
title: DNS over HTTPS · Cloudflare 1.1.1.1 docs
description: With DNS over HTTPS (DoH), DNS queries and responses are encrypted
  and sent via the HTTP, HTTP/2 and HTTP/3 protocols. DoH ensures that attackers
  cannot forge or alter DNS traffic. DoH uses port 443, which is the standard
  HTTPS traffic port, to wrap the DNS query in an HTTPS request. DNS queries and
  responses are camouflaged within other HTTPS traffic, since it all comes and
  goes from the same port.
lastUpdated: 2025-10-09T12:44:04.000Z
chatbotDeprioritize: false
source_url:
  html: https://developers.cloudflare.com/1.1.1.1/encryption/dns-over-https/
  md: https://developers.cloudflare.com/1.1.1.1/encryption/dns-over-https/index.md
---

With DNS over HTTPS (DoH), DNS queries and responses are encrypted and sent via the HTTP, HTTP/2 and HTTP/3 protocols. DoH ensures that attackers cannot forge or alter DNS traffic. DoH uses port 443, which is the standard HTTPS traffic port, to wrap the DNS query in an HTTPS request. DNS queries and responses are camouflaged within other HTTPS traffic, since it all comes and goes from the same port.

* [Configure DoH on your browser](https://developers.cloudflare.com/1.1.1.1/encryption/dns-over-https/encrypted-dns-browsers/)
* [Connect to 1.1.1.1 using DoH clients](https://developers.cloudflare.com/1.1.1.1/encryption/dns-over-https/dns-over-https-client/)
* [Make API requests to 1.1.1.1](https://developers.cloudflare.com/1.1.1.1/encryption/dns-over-https/make-api-requests/)
