a10_slb_template_dns_recursive_dns_resolution

Synopsis

Recursive DNS resolver configuration

Parameters

Parameters

Choices/Defaults

Comment

state

str/required

[‘noop’, ‘present’, ‘absent’]

State of the object to be created.

ansible_host

str/required

Host for AXAPI authentication

ansible_username

str/required

Username for AXAPI authentication

ansible_password

str/required

Password for AXAPI authentication

ansible_port

int/required

Port for AXAPI authentication

a10_device_context_id

int

[‘1-8’]

Device ID for aVCS configuration

a10_partition

str

Destination/target partition for object/command

dns_name

str/required

Key to identify parent object

host_list_cfg

list

Field host_list_cfg

hostnames

str

Hostnames class-list name (dns type), perform resolution while query name matched

csubnet_retry

bool

retry when server REFUSED AX inserted EDNS(0) subnet, works only when insert- client-subnet is configured

ns_cache_lookup

str

‘disabled’= Disable NS Cache Lookup; ‘enabled’= Enable NS Cache Lookup;

use_service_group_response

str

‘disabled’= Start Recursive Resolver if Server response doesnt have final answer; ‘enabled’= Forward Backend Server response to client and dont start recursive resolver;

ipv4_nat_pool

str

IPv4 Source NAT pool or pool group

ipv6_nat_pool

str

IPv6 Source NAT pool or pool group

retries_per_level

int

Number of DNS query retries at each server level before closing client connection, default 6

full_response

bool

Serve all records (authority and additional) when applicable

max_trials

int

Total number of times to try DNS query to server before closing client connection, default 255

request_for_pending_resolution

str

‘drop’= Drop of the request during ongoing; ‘respond-with-servfail’= Respond with SERVFAIL of the request during ongoing; ‘start-new-resolution’= Start new resolution of the request during ongoing;

udp_retry_interval

int

UDP DNS Retry Interval value 1-6, default is 1 sec (1-6 , default is 1 sec)

udp_initial_interval

int

UDP DNS Retry Interval value 1-6, default is 5 sec (1-6, default is 5sec)

use_client_qid

bool

Use client side query id for recursive query

default_recursive

bool

Default recursive mode, forward query to bound service-group if hostnames matched

force_cname_resolution

str

‘enabled’= Force CNAME resolution always; ‘disabled’= Use answer record in CNAME response if it exists, else resolve;

uuid

str

uuid of the object

lookup_order

dict

Field lookup_order

query_type

list

Field query_type

uuid

str

uuid of the object

gateway_health_check

dict

Field gateway_health_check

query_name

str

Specify the query name used in probe queries, default ‘a10networks.com’

retry

int

Maximum number of DNS query retries at each server level before health check fails, default 6 (Retry count (default 6))

timeout

int

Specify the health check timeout before retrying or finish, default is 5 sec (Timeout value, in seconds (default 5))

interval

int

Specify the health check interval, default is 10 sec (Interval value, in seconds (default 10))

up_retry

int

Specify number of times that health check consecutively passes before declaring gateway UP, default 1 (up-retry count (default 1))

retry_multi

int

Specify number of times that health check consecutively fails before declaring gateway DOWN, default 1 (retry-multi count (default 1))

gwhc_ns_cache_lookup

str

‘disabled’= Disable NS Cache Lookup; ‘enabled’= Enable NS Cache Lookup;

str_query_type

str

‘A’= Address record; ‘AAAA’= IPv6 Address record; ‘CNAME’= Canonical name record; ‘MX’= Mail exchange record; ‘NS’= Name server record; ‘SRV’= Service locator; ‘PTR’= PTR resource record; ‘SOA’= Start of authority record; ‘TXT’= Text record;

num_query_type

int

Other record type value

uuid

str

uuid of the object

oper

dict

Field oper

gwhc_status

str

Field gwhc_status

gwhc_up_retries

int

Field gwhc_up_retries

gwhc_down_retries

int

Field gwhc_down_retries

Examples


Return Values

modified_values (changed, dict, )

Values modified (or potential changes if using check_mode) as a result of task operation

axapi_calls (always, list, )

Sequential list of AXAPI calls made by the task

endpoint (, str, [‘/axapi/v3/slb/virtual_server’, ‘/axapi/v3/file/ssl-cert’])

The AXAPI endpoint being accessed.

http_method (, str, [‘POST’, ‘GET’])

HTTP method being used by the primary task to interact with the AXAPI endpoint.

request_body (, complex, )

Params used to query the AXAPI

response_body (, complex, )

Response from the AXAPI

Status

  • This module is not guaranteed to have a backwards compatible interface. [preview]

  • This module is maintained by community.

Authors

  • A10 Networks