Skip to main content
Potato168
Explorer
August 17, 2022
Question

What is the "set authoritative disable" used for Fortigate DNS Proxy feature?

  • August 17, 2022
  • 2 replies
  • 5978 views

Dear all,

 

I wonder what is the use of the "authoritative" for Fortigate DNS Proxy?

 

Is that feature just stopping users from IP changed with the same Domain name?

 

Thanks!

 

 

2 replies

pminarik
Staff
Staff
August 17, 2022

"set authoritative enable" basically means "I am the only source of information for this DNS zone, nobody else knows". If an entry does not exist in a zone set to authoritative=enable, the FortiGate will assume that the entry does not exist at all.

 

The difference can be primarily felt in situations where the FortiGate, or the endpoint clients, use both the DNS zones configured on the FortiGate and also forward queries for other requests.

 

Here's a sample scenario you can try:

config system dns-database     edit "example.com"         set domain "example.com"         # set authoritative enable # not visible because it is the default setting         config dns-entry             edit 1                 set hostname "xxx"                 set ip 127.0.0.13             next         end     next end 

 

Now try to ping these FQDNs from the FortiGate CLI:
exe ping xxx.example.com => resolved to 127.0.0.13

exe ping www.example.com  => host not found (!)

 

Now edit the DNS zone and set authoritative to "disable". After that, re-run the ping tests:

exe ping xxx.example.com => resolved to 127.0.0.13

exe ping www.example.com  => resolved to 93.184.216.34

 

As you can see, an authoritative zone prevents the FortiGate from checking for DNS records futher upstream, because the setting tells it that it is the only source of DNS records for that zone.

Potato168
Potato168Author
Explorer
September 20, 2024

But what if I set the forwarder at the same time? What does the "authoritative" work like?

Thought Leadership Security Summit. Outpace New Threats with AI - enhanced defense. Tuesday, Septmeber 15, 8:30 AM - 2:30 PM PT. The Golf Club at Newcastle, WA.
Virtual event | September 2026. SASE summit. The age of autonomous trust. Register here!