Skip to main content
bartman10
New Member
August 6, 2014
Question

GUI:Interface DHCP, no option for 2 DNS servers

  • August 6, 2014
  • 4 replies
  • 49748 views
Just ran into this on a 40C I was configuring at a remote office in China. In the GUI, on the Internal interface, DHCP options, Specify DNS server only gives you the option to put in 1 DNS IP address. There may be some special format for listing 2 DNS servers on that one line.. but I could not find it in the help manual or by guessing using " ,:;" . It would be nice if when you select " Sepcify DNS" it gave you " Primary-" and " Secondary-" fields to populate. I did drop to the CLI and was able to add a 2nd DNS server and verified the client was receiving both DNS servers. Config system dhcp server Edit1 set dns-server2 8.8.8.8 end In the GUI it still only shows the primary DNS.... again.. why is there not a option for 2? 2 is kind of standard... generally speaking.. Please reference my computer generated consept for the new GUI.

    4 replies

    Warren_Olson_FTNT
    Staff
    Staff
    August 6, 2014
    Yes it' s hidden in the CLI. config system dhcp server edit <x> (the one tied to your referenced interface) set dns-server2 8.8.8.8 set dns-server3 8.8.4.4 end
    hklb
    Visitor III
    August 7, 2014
    You can specify dns domain in CLI too (it should be useful): set domain mydomain.adds
    dasilva13
    New Member
    August 11, 2014
    I agree and believe in the old 4 versions of the OS it was part of the GUI. Dual DNS is just a standard item I believe that should be included!
    Jordan_Thompson_FTNT
    Staff
    Staff
    August 11, 2014
    This will be available on the FortiOS UI in a 5.2 patch release.
    jvanderzee
    New Member
    September 8, 2016

    Just as an update if you place the two DNS servers in the "Specify" field with a comma between it will use the two.

     

    Example: 208.67.222.222,208.67.220.220

     

    Hope that helps if someone is more comfortable with the GUI.

    forthright
    New Member
    December 15, 2020

    The use of a comma is correct as user jvanderzee suggested.