Skip to main content
ametkola
Staff
Staff
Aug 31, 2023 4:24 AM UTC

Technical Tip: DNS Server Zone Record Limit

Description This article describes how to change the value of adding DNS records on a secondary zone.
Scope FortiGate v7.0.
Solution

Records are added during the AXFR zone transfer until the maximum is reached.

This value can be changed, but by default, the value is 16384.

 

Using the debug :

 

diagnose debug application dnsproxy -1
diagnose debug enable

 

[worker 0] dnszone_refresh_parent_read()-1599: zone=bigzone1.ch received rr from child
[worker 0] dnszone_secondary_request_axfr()-1467: zone=bigzone1.ch waiting for confirmation
[worker 0] dnszone_secondary_request_axfr()-1279: zone=bigzone1.ch received AXFR response (id=0x3442 rcode=0)
[worker 0] dnszone_secondary_request_axfr()-1317: too many records=16385 (max=16384)

 

diagnose debug disable

 

To be able to modify this value:

 

config system dns-database
    edit 'name'    <----- Zone name.
        set rr-max

end

 

rr-max Enter an integer value from <10> to <65536> or (special = <0>) (default = <16384>).

set ?
rr-max Maximum number of resource records (10 - 65536, 0 means infinite).

    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