Skip to main content
EricFo
New Member
June 4, 2020
Question

DNS-logging doesn´t work

  • June 4, 2020
  • 3 replies
  • 8615 views

Running fortios 6.0.4. I´ve enabled DNS-logging in both the disk settings and tried to send DNS-logs to a syslog server. But no DNS-logs appears. Get all other logs that I tried, but the DNS-logs wont appear on the FW or the Syslog-server.

 

config log disk filter

set dns enable

end

 

config log syslogd filter

set dns enable

end

 

Also tried set the Log Level to Information, which was implied by fortinet. But I´m stuck at this point. Any help or things that I can check?

 

 

    3 replies

    Hosemacht
    Explorer
    June 4, 2020

    Hey there,

     

    please have a look at this post:

    https://forum.fortinet.com/tm.aspx?m=178731&tree=true#

     

    Regards

    Hosemacht
    Explorer
    June 4, 2020

    thanks for your reply, please let me know if it works for you (it doesnt for me)

     

    Regards

    EricFo
    EricFoAuthor
    New Member
    June 4, 2020

    Thanks. Not really what I´m looking for. I wan´t to use this solution:

     

    DNS Logging (401757)

    FortiOS logging now includes the Detailed DNS log message type. DNS events were previously recorded as event logs. In FortiOS 5.6 DNS log messages are a new category that also includes more DNS log messages to provide additional detail about DNS activity through the FortiGate. You can enable DNS logging from the CLI using the following command (shown in this example for memory logging):

     

    config log memory filterset dns enableend 

    DNS log messages include details of each DNS query and response. DNS log messages are recorded for all DNS traffic though the FortiGate and originated by the FortiGate.

     

    The detailed DNS logs can be used for low-impact security investigation. Most network activity involves DNS activity of some kinds. Analyzing DNS logs can provide a lot of details about the activity on your network without using flow or proxy-based resource intensive techniques.

    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.
    Virtual event | September 2026. SASE summit. The age of autonomous trust. Register here!