DNS over TLS (DoT) is a security protocol for encrypting and wrapping DNS queries and answers via the TLS protocol. The goal of DNS over TLS is to increase user privacy and security by preventing eavesdropping and manipulation of DNS data via man-in-the-middle attacks. There is an option in the FortiOS DNS profile settings to enforce DoT for this added security.
To configure DoT in the GUI:
- Go to Network > DNS. The DNS Settings pane opens.
- For DNS over TLS, click Enforce.
- Click Apply.
To configure DoT in the CLI:
config system dns set primary 22.214.171.124 set dns-over-tls enforce set ssl-certificate "Fortinet_Factory" end