Skip to main content
josecoca
New Member
September 12, 2022
Question

Fortinet does not resolve hostname

  • September 12, 2022
  • 1 reply
  • 875 views

My firewall does not resolve hostname, does anyone know how to tell me the possible causes?

 

Example with hostname: 

josecoca_0-1663023740449.png

Example with IP from hostname:

josecoca_1-1663023848356.png

1 reply

gfleming
Staff
Staff
September 13, 2022

Can you resolve the FQDN? vm-ad01.yournetwork.com, as an example.

 

If so, then you need to add your domain as a search suffix:

config system dns
...
set domain "yournetwork.com"
...

If it does not resolve for FQDN then you probably need to add your internal DNS servers to your FortiGate's DNS config

config system dns
set primary <internal dns IP>
set secondary <internal dns #2 IP>