Skip to main content
larsbollas
Staff
Staff
Sep 6, 2022 6:24 AM UTC

Technical tip: DNS over TLS using Cloudflare DNS

Description

This article describes how to configure FortiGate DNS over TLS using Cloudflare DNS.


Cloudflare DNS:

Primary DNS 1.1.1.2

Secondary DNS 1.0.0.1

Scope

From GUI:

 

larsbollas_0-1662443742639.png

 

From CLI:

# config system dns
    set primary 1.1.1.2
    set secondary 1.0.0.1
    set protocol dot
    set server-hostname "1dot1dot1dot1.cloudflare-dns.com"
end

Note.

Using incorrect server hostname will result to DNS failure.

Solution When configuring from GUI, do not forget to change the default server hostname 'globalsdns.fortinet.net'.

When using Cloudflare DNS, use 'one.one.one.one' or '1dot1dot1dot1.cloudflare-dns.com' as the server hostname.

 

Related article:
https://community.fortinet.com/t5/FortiGate/Technical-Tip-DNS-over-TLS-configuration/ta-p/193830

 

    Risk and Resilience in the Age of AI. An OT Thought Leadership Summit for Houston's Critical Infrastructure Leaders. Date: Thursday, December 3, 2026. Time: 8:30 am - 1:30 pm (CT). Location: The Westin Houston, Memorial City | 945 Gessner Road, Houston, TX 77024