2.1. Logging

Configure DNS query and response logging. Create a “Log Publisher”, and a “Logging Profile”

Note

It is required to complete the following task on both dns.sitea and dns.siteb

  1. Navigate to: System ›› Logs : Configuration : Log Publishers

    ../../_images/system_log_publisher_flyout.png

    Create a local syslog publisher according to the table below:

    Setting Value
    Name local-syslog-publisher
    Destinations local-syslog
    ../../_images/sys_syslog_publisher_details.png

    On both dns.sitea and dns.siteb run the following command:

    TMSH

    tmsh create sys log-config publisher local-syslog-publisher { destinations add { local-syslog { } } }

  2. Navigate to: DNS > Delivery > Profiles > Other > DNS Logging: Create

    ../../_images/dns_logging_profile_flyout.png

    Create a new DNS logging profile as shown in the table below.

    Setting Value
    Name f5demo_dns_logging_profile
    Log Publisher local-syslog-publisher
    Log Responses enabled
    Include Query ID enabled
    ../../_images/dns_logging_profile_create.png

    TMSH command for both dns.sitea and dns.siteb:

    TMSH

    tmsh create ltm profile dns-logging f5demo_dns_logging_profile enable-response-logging yes include-query-id yes log-publisher local-syslog-publisher

https://support.f5.com/kb/en-us/products/big-ip_ltm/manuals/product/bigip-external-monitoring-implementations-12-0-0/5.html