slb template dns category-lookup

Configure web-category list for DNS domains matching (Up to 8 lists)

category-lookup Specification

Parameter Value
Type Collection
Object Key(s) category-name
Collection Name category-lookup-list
Collection URI /axapi/v3/slb/template/dns/{name}/category-lookup
Element Name category-lookup
Element URI /axapi/v3/slb/template/dns/{name}/category-lookup/{category-name}
Element Attributes category-lookup_attributes
Partition Visibility shared
Schema category-lookup schema

Operations Allowed:

OperationMethodURIPayload

Create Object

POST

/axapi/v3/slb/template/dns/{name}/category-lookup

category-lookup attributes

Create List

POST

/axapi/v3/slb/template/dns/{name}/category-lookup

category-lookup attributes

Get Object

GET

/axapi/v3/slb/template/dns/{name}/category-lookup/{category-name}

category-lookup attributes

Get List

GET

/axapi/v3/slb/template/dns/{name}/category-lookup

category-lookup-list

Modify Object

POST

/axapi/v3/slb/template/dns/{name}/category-lookup/{category-name}

category-lookup attributes

Replace Object

PUT

/axapi/v3/slb/template/dns/{name}/category-lookup/{category-name}

category-lookup attributes

Replace List

PUT

/axapi/v3/slb/template/dns/{name}/category-lookup

category-lookup-list

Delete Object

DELETE

/axapi/v3/slb/template/dns/{name}/category-lookup/{category-name}

category-lookup attributes

category-lookup-list

category-lookup-list is JSON List of category-lookup attributes

category-lookup-list : [

category-lookup attributes

category-name

Description category-list name

Type: string

Format: string-rlx

Maximum Length: 63 characters

Maximum Length: 1 characters

Reference Object: /axapi/v3/web-category/category-list

drop

Description Deny matching DNS domains

Type: boolean

Supported Values: true, false, 1, 0

Default: 0

Mutual Exclusion: drop,permit, respond, respond-nxdomain, respond-ip-addr, respond-ipv6-addr, and respond-cname-str are mutually exclusive

permit

Description Permit matching DNS domains

Type: boolean

Supported Values: true, false, 1, 0

Default: 0

Mutual Exclusion: permit,drop, respond, respond-nxdomain, respond-ip-addr, respond-ipv6-addr, and respond-cname-str are mutually exclusive

respond

Description Respond to matching DNS domains

Type: boolean

Supported Values: true, false, 1, 0

Default: 0

Mutual Exclusion: respond, permit, and drop are mutually exclusive

respond-cname-str

Description CNAME to respond (Canonical name)

Type: string

Maximum Length: 256 characters

Maximum Length: 1 characters

Mutual Exclusion: respond-cname-str,permit, drop, and respond-nxdomain are mutually exclusive

respond-ip-addr

Description Type A record to respond (IPv4 address)

Type: string

Format: ipv4-address

Mutual Exclusion: respond-ip-addr,permit, drop, and respond-nxdomain are mutually exclusive

respond-ipv6-addr

Description TYPE AAAA record to respond (IPv6 address)

Type: string

Format: ipv6-address

Mutual Exclusion: respond-ipv6-addr,permit, drop, and respond-nxdomain are mutually exclusive

respond-nxdomain

Description Respond with NXDOMAIN

Type: boolean

Supported Values: true, false, 1, 0

Default: 0

Mutual Exclusion: respond-nxdomain,permit, drop, respond-ip-addr, respond-ipv6-addr, and respond-cname-str are mutually exclusive

response-ttl

Description Set response TTL in seconds (TTL value in seconds)

Type: number

Range: 1-259200

Default: 300

uuid

Description uuid of the object

Type: string

Maximum Length: 64 characters

Maximum Length: 1 characters