LocalLB::ProfileDNSLogging¶
Introduced : BIG-IPv11.3.0
The DNS Logging interface allows you to manage DNS Logging profiles.
There are two components of DNS Logging profiles, Query Logging and
Response logging. You may configure a logging profile with either or
both of them enabled. The format of logs can be configured by
enabling/disabling log parameters. Note: You attach a DNS Logging
Profile to a DNS Profile, not to a Virtual Server.
Methods¶
Method | Description | Introduced |
create | Creates the specified DNS Logging profiles. | BIG-IP_v11.3.0 |
delete_all_profiles | Deletes all DNS Logging profiles. | BIG-IP_v11.3.0 |
delete_profile | Deletes the specified DNS Logging profiles. | BIG-IP_v11.3.0 |
get_complete_answer_enabled_state | Gets complete answer enable state for a set of DNS Logging profiles. | BIG-IP_v11.3.0 |
get_dns_log_publisher | Gets the Log Publishers for a set of DNS Logging profiles. | BIG-IP_v11.3.0 |
get_list | Gets a list of DNS Logging profiles. | BIG-IP_v11.3.0 |
get_query_id_enabled_state | Gets the query ID enabled state for a set of DNS Logging profiles. | BIG-IP_v11.3.0 |
get_query_logging_state | Gets the query logging enabled state for a set of DNS Logging profiles. | BIG-IP_v11.3.0 |
get_response_logging_state | Gets the response logging enabled state for a set of DNS Logging profiles. | BIG-IP_v11.3.0 |
get_source_enabled_state | Gets source enabled state for a set of DNS Logging profiles. | BIG-IP_v11.3.0 |
get_timestamp_enabled_state | Gets timestamp enabled state for a set of DNS Logging profiles. | BIG-IP_v11.3.0 |
get_version | Get the version information for this interface. | BIG-IP_v11.3.0 |
get_view_enabled_state | Gets view enabled state for a set of DNS Logging profiles. | BIG-IP_v11.3.0 |
set_complete_answer_enabled_state | Sets complete answer enabled state. By enabling this option, response log messages will include all resource records in the answer section. By default this option is enabled. | BIG-IP_v11.3.0 |
set_dns_log_publisher | Sets the Log Publishers for a set of DNS Logging profiles. This is a mandatory attribute while creating a DNS Logging profile. | BIG-IP_v11.3.0 |
set_query_id_enabled_state | Sets query ID enabled state. Enabling this will include the query ID field of queries and/or responses in the log. By default, this option is disabled. | BIG-IP_v11.3.0 |
set_query_logging_state | Sets the query logging enabled state for a set of DNS Logging profiles. If enabled on a DNS profile, it logs all the DNS queries provided the DNS profile is configured with a DNS Logging profile. By default this option is enabled. | BIG-IP_v11.3.0 |
set_response_logging_state | Sets the response logging enabled state for a set of DNS Logging profiles. If enabled on a DNS profile, it logs all the DNS responses provided the DNS profile is configured with a logging profile. By default this option is disabled. | BIG-IP_v11.3.0 |
set_source_enabled_state | Sets source enabled state. Enabling this will include the source field of queries and/or responses in the log. By default, this option is enabled. | BIG-IP_v11.3.0 |
set_timestamp_enabled_state | Sets timestamp enabled state. Enabling this will include the timestamp field of queries and/or responses in the log. By default, this option is enabled. | BIG-IP_v11.3.0 |
set_view_enabled_state | Sets view enabled state. Enabling this will include the view field of queries in the log. By default, this option is enabled. | BIG-IP_v11.3.0 |
See Also¶
iControl ::
Warning
The links to the sample code below are remnants of the old DevCentral wiki and will result in a 404 error. For best results, please copy the link text and search the codeshare directly on DevCentral.
Sample Code¶
The BIG-IP API Reference documentation contains community-contributed content. F5 does not monitor or control community code contributions. We make no guarantees or warranties regarding the available code, and it may contain errors, defects, bugs, inaccuracies, or security vulnerabilities. Your access to and use of any code available in the BIG-IP API reference guides is solely at your own risk.