Log Profile¶
Configure DNS query and response logging.
Create a “Log Publisher” for local syslog.
Navigate to: System ›› Logs : Configuration : Log Publishers
Create a local syslog publisher as shown in the table below:
Field Value Name local-syslog-publisher Destinations local-syslog https://router01.branch01.example.com/tmui/Control/jspmap/tmui/system/log/create_publisher.jsp
TMSH
tmsh create sys log-config publisher local-syslog-publisher { destinations add { local-syslog { } } }
Create a “Logging Profile”
Navigate to DNS ›› Delivery : Profiles : Other : DNS Logging
Create a DNS logging profile as shown in the table below:
Field Value Name example_dns_logging_profile Log Publisher local-syslog-publisher Log Responses enabled Include Query ID enabled https://router01.branch01.example.com/tmui/Control/jspmap/tmui/locallb/profile/dns_log/create.jsp
TMSH
tmsh create ltm profile dns-logging example_dns_logging_profile enable-response-logging yes include-query-id yes log-publisher local-syslog-publisher