slb template dns recursive-dns-resolution¶
Recursive DNS resolver configuration
recursive-dns-resolution Specification¶
Type
Configuration Resource
Element Name
recursive-dns-resolution
Element URI
/axapi/v3/slb/template/dns/{name}/recursive-dns-resolution
Element Attributes
recursive-dns-resolution_attributes
Schema
Operations Allowed:
Operation | Method | URI | Payload | |
---|---|---|---|---|
Create Object | POST | /axapi/v3/slb/template/dns/{name}/recursive-dns-resolution | ||
Get Object | GET | /axapi/v3/slb/template/dns/{name}/recursive-dns-resolution | ||
Modify Object | POST | /axapi/v3/slb/template/dns/{name}/recursive-dns-resolution | ||
Replace Object | PUT | /axapi/v3/slb/template/dns/{name}/recursive-dns-resolution | ||
Delete Object | DELETE | /axapi/v3/slb/template/dns/{name}/recursive-dns-resolution |
recursive-dns-resolution attributes¶
csubnet-retry
Description retry when server REFUSED AX inserted EDNS(0) subnet, works only when insert-client-subnet is configured
Type: boolean
Supported Values: true, false, 1, 0
Default: 0
default-recursive
Description Default recurisve mode, forward query to bound service-group if hostnames matched
Type: boolean
Supported Values: true, false, 1, 0
Default: 0
host-list-cfg
Type: List
ipv4-nat-pool
Description IPv4 Source NAT pool or pool group
Type: string
Format: string-rlx
Maximum Length: 63 characters
Maximum Length: 1 characters
Refernce Object: /axapi/v3/ip/nat/pool
ipv6-nat-pool
Description IPv6 Source NAT pool or pool group
Type: string
Format: string-rlx
Maximum Length: 63 characters
Maximum Length: 1 characters
Refernce Object: /axapi/v3/ipv6/nat/pool
lookup-order
Description: lookup-order is a JSON Block. Please see below for lookup-order
Type: Object
Refernce Object: /axapi/v3/slb/template/dns/{name}/recursive-dns-resolution/lookup-order
max-trials
Description Total number of times to try DNS query to server before closing client connection, default 30
Type: number
Range: 1-62
Default: 30
minimal-response
Description Remove authority and additional records when applicable
Type: boolean
Supported Values: true, false, 1, 0
Default: 0
retries-per-level
Description Number of DNS query retries at each server level before closing client connection, default 6
Type: number
Range: 1-6
Default: 6
uuid
Description uuid of the object
Type: string
Maximum Length: 64 characters
Maximum Length: 1 characters
lookup-order¶
Specification
Type
object
query-type
Type: List
uuid
Description uuid of the object
Type: string
Maximum Length: 64 characters
Maximum Length: 1 characters
lookup-order_query-type¶
Specification
Type
list
Block object keys
num-query-type
Description Other query type value
Type: number
Range: 1-65535
order
Description ‘ipv4-precede-ipv6’: Recursive lookup via IPv4 then IPv6; ‘ipv6-precede-ipv4’: Recursive lookup via IPv6 then IPv4;
Type: string
Supported Values: ipv4-precede-ipv6, ipv6-precede-ipv4
str-query-type
Description ‘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; ‘ANY’: All cached record;
Type: string
Supported Values: A, AAAA, CNAME, MX, NS, SRV, PTR, SOA, TXT, ANY
host-list-cfg¶
Specification
Type
list
Block object keys
hostnames
Description Hostnames class-list name (ac type), perform resolution while query name matched
Type: string
Format: string-rlx
Maximum Length: 63 characters
Maximum Length: 1 characters
Refernce Object: /axapi/v3/class-list