Skip to main content
MBR
New Member
March 31, 2015
Question

Conditional DNS forwarding on Fortigate

  • March 31, 2015
  • 1 reply
  • 31336 views

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

    1 reply

    MBR
    MBRAuthor
    New Member
    March 31, 2015

    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!)

    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.
    Fortinet Flag the Hack. Wednesday, August 26, 9:00 AM - 5:00 PM ET, COSM, Atlanta, GA.