Skip to main content
caunon
Staff
Staff
Dec 2, 2022 5:48 AM UTC

Technical Tip: How to fix DNS Query showing ‘dns-response’ with values of Category :‘255’ and Category Description : ‘Unknown’

Description

This article describes how to fix the DNS Query showing ‘dns-response’ with values of Category:‘255’ and Category Description: ‘Unknown’.  under FortiGate -> Log&Report  -> DNS Query.

Scope

FortiGate v6.2.x.

Solution

- Make sure to configure the DNS setting and DNS filter profile including putting the setting in the firewall policy ID correctly.

 

-Under  FortiGate -> Log&Report -> DNS Query, for 'DNS Type' : dns-response packet, it shows with 'Action':: pass with the correct firewall policy ID wanted.

But it shows the value of 'Category' column with ‘255’ and the value of 'Category Description' column with ‘Unknown’

255_UnknownKB.png

 

- Everything works fine and the DNS setting is properly configured , the FortiGate can connect to FortiGuard service, and FortiGate gets the correct rating.

 

- Check and correct the CLI commands as below:

It is possible to do it with CLI commands of the FortiGate via Telnet,SSH , or CLI Console on GUI of FortiGate.


At CLI command of FGT :

FGT # config system fortiguard

FGT (fortiguard) # set sdns-server-ip "208.91.112.220 173.243.140.53 210.7.96.53"

FGT (fortiguard) # end

 

Then it may show the correct values in 'Category' column and 'Category Description' column for 'DNS Type': dns-response packet as below.

 

CorrectCategoryAndCategoryDescription.png
    Thought Leadership. Security Summit. Thursday, November 12th, PGA National Resort, Palm Beach Gardens, FL.
    Security Operations Summit: Modernize SecOps. Operate AI-Native.AMER: November 4 | 9:00 AM PST. India and SAARC: November 5 | 10:00 AM IST. EMEA: November 5 | 10:30 AM CET. APAC: November 5 | 11:00 AM SGT