Skip to main content
hrahuman_FTNT
Staff & Editor
Staff & Editor
Nov 17, 2025 9:05 AM UTC

Technical Tip: How to restrict only IPV4 DNS requests from FortiProxy

  • Aug 28, 2026 10:39 AM UTC
  • 0 replies
  • 438 views
  • Translate All

Description

This article describes how to restrict only IPv4 DNS requests from FortiProxy.

Scope

FortiProxy.

Solution

When the admin user selects the 'Prefer DNS Result' to 'ipv4-strict' under the Explicit Proxy setting, that will not be saved in the GUI because the 'ipv6-status' is disabled.

 

To restrict only IPv4 DNS requests from FortiProxy, 'ipv6-status' should be enabled before enabling the 'ipv4-strict'.

config web-proxy explicit

    edit web-proxy

        set ipv6-status enable

        set pref-dns-result ipv4-strict

    end



set pref-dns-result:

ipv4:

Send the IPv4 request first and then the IPv6 request. Use the DNS response that returns to the FortiGate first.

ipv6:

Send the IPv6 request first and then the IPv4 request. Use the DNS response that returns to the FortiGate first.

ipv4-strict(new):

Use the IPv4 DNS response. If the IPv6 DNS response arrives first, wait 50ms for the IPv4 response and then use the IPv4 response, otherwise the IPv6.

ipv6-strict(new):

Use the IPv6 DNS response. If the IPv4 DNS response arrives first, wait 50ms for the IPv6 response and then use the IPv6 response, otherwise the IPv4.

Note:

With this configuration, if an IPv6 DNS response is received first, the system will wait up to 50 milliseconds for the IPv4 response. If the IPv4 response arrives within this time, it will be used. Otherwise, still the IPv6 response will be used instead.

 

From GUI:

 

Screenshot 2025-11-17 120605.png

    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