Support Forum
The Forums are a place to find answers on a range of Fortinet products from peers and product experts.
MBR
New Contributor III

Conditional DNS forwarding on Fortigate

Hi,

 

Does anyone know how i configure a conditional dns forwarding on Fortigates?

I want a DNS server active on the internal interface but with a conditional DNS forwarding for the local domain.

 

Thanks in advance

- MBR -

NSE1, NSE2, NSE3

FGT60D/E, FWF60D/E, FGT200D

- MBR - NSE1, NSE2, NSE3 FGT60D/E, FWF60D/E, FGT200D
1 REPLY 1
MBR
New Contributor III

Found out this has to be done using CLI (Not possible in GUI) using the following commands:

 

config system dns-database

    edit "my_forward"

        set authoritative disable

        set domain "mydomain.local"

        set forwarder "192.168.1.200"

    next

end

 

You also have to set the DNS service mode to "Recursive"

 

It would be nicer if it was possible to set "set forwarder" field using GUI. (hint!)

- MBR -

NSE1, NSE2, NSE3

FGT60D/E, FWF60D/E, FGT200D

- MBR - NSE1, NSE2, NSE3 FGT60D/E, FWF60D/E, FGT200D
Announcements

Select Forum Responses to become Knowledge Articles!

Select the “Nominate to Knowledge Base” button to recommend a forum post to become a knowledge article.

Labels
Top Kudoed Authors