Skip to main content
Mictronic
Explorer III
November 19, 2023
Solved

Fortigate to resolve local DNS entry for address object

  • November 19, 2023
  • 5 replies
  • 6913 views

Hello fellows!

 

In a FGT-61F I created a local DNS service for domain "local.tld" with some A records in it.
All clients using the fgt as their primary DNS server and can resolve all hosts in "local.tld" with their FQDN.

Fine.

 

Now I want to use this working FQDN resolution for some firewall policies, so I added some addresses.

When I try to use the same FQDN for an address object, fgt says "Unresolved FQDN: host.local.tld".

 

What am I doing wrong? Any suggestions?

 

Working on FGT-61F with FortiOS 7.2.6.

 

Any help welcome. Thank you in advance!

 

Regards, Michael.

Best answer by lgupta

Hello Mictronic,

Thanks for reaching out.

I think you are just seeing the GUI bug.

Please refer: https://docs.fortinet.com/document/fortigate/7.2.6/fortios-release-notes/236526/known-issues

Bug ID: 958311

Please run the following command:

diagnose test application dnsproxy 7

You will see the IPs being resolved.

 

Thank you!

5 replies

AEK
SuperUser
SuperUser
November 19, 2023

Hello

FGT must to point to itself for DNS resolution.

Go to Network > DNS, and add FGT IP as primary DNS server.

AEK
Mictronic
MictronicAuthor
Explorer III
November 19, 2023

Hello AEK,

well, I ran into a GUI only bug, FQDN resolution for address objects works, even if I do not use internal DNS in Network DNS.

 

Regards, Mic

lgupta
Staff
lguptaAnswer
Staff
November 19, 2023

Hello Mictronic,

Thanks for reaching out.

I think you are just seeing the GUI bug.

Please refer: https://docs.fortinet.com/document/fortigate/7.2.6/fortios-release-notes/236526/known-issues

Bug ID: 958311

Please run the following command:

diagnose test application dnsproxy 7

You will see the IPs being resolved.

 

Thank you!

Mictronic
MictronicAuthor
Explorer III
November 19, 2023

Hello Igupta,

yes that's it, FQDN resolution works but only the GUI says it's not.

 

Thanks for the hint to that bug.

Regards, Michael.

Ken_Durrant
New Member
February 29, 2024

So, If this only a GUI cosmetic bug, why do rules show no matched traffic or log these entries?

Seems more broken than just cosmetic.  These logs are not getting to the SIEM, because they can't.

When will 7.2.8 firmware be released?

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.