Fortigate does not resolve local/private FQDN
Hello,
I have made a deny policy on the Fortigate 7.4.7 and assigned some FQDNs as source on LAN to WAN communication. However, I realized it doesn't work. When I tried the policy with the IP addresses, it worked as it should. Then, I executed below command where "ABC.Domain.com" is our internal network host's FQDN.
exe ping ABC.Domain.com
Result:
Unable to resolve hostname.
We are using the Fortigate DNS servers as below:
#show system dns config system dns set primary 96.45.45.45 set secondary 96.45.46.46 set protocol dot set server-hostname "globalsdns.fortinet.net" set dns-cache-limit 300 end
Also:
# show system dns-server config system dns-server edit "lan" set mode forward-only set dnsfilter-profile "default" next end
FYI, I'm able to ping the hostnames in my endpoints but not in command prompt inside Fortigate GUI.
I'm not sure if any other information required. So please let me know.
To recap the issue, I can't set a policy on internal FQDN.
Thanks in advance.
