a10_gslb_zone

Synopsis

Specify the DNS zone name for which global SLB is provided

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

name

str/required

Specify the name for the DNS zone

disable

bool

Disable all services in the GSLB zone

policy

str

Specify the policy for this zone (Specify policy name)

template

dict

Field template

dnssec

str

Specify DNSSEC template (Specify template name)

ttl

int

Specify the zone ttl value (TTL value, unit= second, default is 10)

use_server_ttl

bool

Use DNS Server Response TTL value in GSLB Proxy mode

dns_soa_record

dict

Field dns_soa_record

soa_name

str

DNS Server Name

mail

str

Mailbox

expire

int

Specify Expire Time Interval, default is 1209600

refresh

int

Specify Refresh Time Interval, default is 3600

retry

int

Specify Retry Time Interval, default is 900

serial

int

Specify Serial Number, default is Current Time (Time Interval)

soa_ttl

int

Specify Negative caching TTL, default is Zone TTL

external

str

Specify External SOA Record (DNS Server Name)

ex_mail

str

Mailbox

ex_expire

int

Specify Expire Time Interval, default is 1209600

ex_refresh

int

Specify Refresh Time Interval, default is 3600

ex_retry

int

Specify Retry Time Interval, default is 900

ex_serial

int

Specify Serial Number, default is Current Time (Time Interval)

ex_soa_ttl

int

Specify Negative caching TTL, default is Zone TTL

uuid

str

uuid of the object

user_tag

str

Customized tag

sampling_enable

list

Field sampling_enable

counters1

str

‘all’= all; ‘received-query’= Total Number of DNS queries received for the zone; ‘sent-response’= Total Number of DNS replies sent to clients for the zone; ‘proxy-mode-response’= Total Number of DNS replies sent to clients by the ACOS device as a DNS proxy for the zone; ‘cache-mode-response’= Total Number of cached DNS replies sent to clients by the ACOS device for the zone. (This statistic applies only if the DNS cac; ‘server-mode-response’= Total Number of DNS replies sent to clients by the ACOS device as a DNS server for the zone. (This statistic applies only if th; ‘sticky-mode-response’= Total Number of DNS replies sent to clients by the ACOS device to keep the clients on the same site. (This statistic applies on; ‘backup-mode-response’= Total Number of DNS replies sent to clients by the ACOS device in backup mode;

dns_mx_record_list

list

Field dns_mx_record_list

mx_name

str

Specify Domain Name

priority

int

Specify Priority

ttl

int

Specify TTL

uuid

str

uuid of the object

sampling_enable

list

Field sampling_enable

dns_ns_record_list

list

Field dns_ns_record_list

ns_name

str

Specify Domain Name

ttl

int

Specify TTL

uuid

str

uuid of the object

sampling_enable

list

Field sampling_enable

dns_caa_record_list

list

Field dns_caa_record_list

critical_flag

int

Issuer Critical Flag

property_tag

str

Specify other property tags, only allowed lowercase alphanumeric

rdata

str

Specify the Issuer Domain Name or a URL

ttl

int

Specify TTL

uuid

str

uuid of the object

sampling_enable

list

Field sampling_enable

service_list

list

Field service_list

service_port

int

Port number of the service

service_name

str

Specify the service name for the zone, * for wildcard

action

str

‘drop’= Drop query; ‘forward’= Forward packet; ‘ignore’= Send empty response; ‘reject’= Send refuse response;

forward_type

str

‘both’= Forward both query and response; ‘query’= Forward query; ‘response’= Forward response;

disable

bool

Disable

health_check_gateway

str

‘enable’= Enable Gateway Status Check; ‘disable’= Disable Gateway Status Check;

health_check_port

list

Field health_check_port

policy

str

Specify policy for this service (Specify policy name)

uuid

str

uuid of the object

user_tag

str

Customized tag

sampling_enable

list

Field sampling_enable

dns_a_record

dict

Field dns_a_record

dns_cname_record_list

list

Field dns_cname_record_list

dns_mx_record_list

list

Field dns_mx_record_list

dns_ns_record_list

list

Field dns_ns_record_list

dns_ptr_record_list

list

Field dns_ptr_record_list

dns_srv_record_list

list

Field dns_srv_record_list

dns_naptr_record_list

list

Field dns_naptr_record_list

dns_txt_record_list

list

Field dns_txt_record_list

dns_caa_record_list

list

Field dns_caa_record_list

dns_record_list

list

Field dns_record_list

geo_location_list

list

Field geo_location_list

oper

dict

Field oper

state

str

Field state

dns_soa_record_list

list

Field dns_soa_record_list

name

str

Specify the name for the DNS zone

dns_mx_record_list

list

Field dns_mx_record_list

dns_ns_record_list

list

Field dns_ns_record_list

dns_caa_record_list

list

Field dns_caa_record_list

service_list

list

Field service_list

stats

dict

Field stats

received_query

str

Total Number of DNS queries received for the zone

sent_response

str

Total Number of DNS replies sent to clients for the zone

proxy_mode_response

str

Total Number of DNS replies sent to clients by the ACOS device as a DNS proxy for the zone

cache_mode_response

str

Total Number of cached DNS replies sent to clients by the ACOS device for the zone. (This statistic applies only if the DNS cac

server_mode_response

str

Total Number of DNS replies sent to clients by the ACOS device as a DNS server for the zone. (This statistic applies only if th

sticky_mode_response

str

Total Number of DNS replies sent to clients by the ACOS device to keep the clients on the same site. (This statistic applies on

backup_mode_response

str

Total Number of DNS replies sent to clients by the ACOS device in backup mode

name

str

Specify the name for the DNS zone

dns_mx_record_list

list

Field dns_mx_record_list

dns_ns_record_list

list

Field dns_ns_record_list

dns_caa_record_list

list

Field dns_caa_record_list

service_list

list

Field service_list

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