cgnv6 template

Define a CGNv6 template

template Specification

Type Intermediate Resource
Element Name template
Element URI /axapi/v3/cgnv6/template
Element Attributes template_attributes
Schema template schema

Operations Allowed:

Operation Method URI Payload

Get Object

GET

/axapi/v3/cgnv6/template

template_attributes

template Attributes

dns-list

Description: dns-list is a JSON List . Please see below for dns-list

Type: List

Reference Object: /axapi/v3/cgnv6/template/dns/{name}

http-alg-list

Description: http-alg-list is a JSON List . Please see below for http-alg-list

Type: List

Reference Object: /axapi/v3/cgnv6/template/http-alg/{name}

logging-list

Description: logging-list is a JSON List . Please see below for logging-list

Type: List

Reference Object: /axapi/v3/cgnv6/template/logging/{name}

pcp-list

Description: pcp-list is a JSON List . Please see below for pcp-list

Type: List

Reference Object: /axapi/v3/cgnv6/template/pcp/{name}

policy-list

Description: policy-list is a JSON List . Please see below for policy-list

Type: List

Reference Object: /axapi/v3/cgnv6/template/policy/{name}

policy-list

Specification
Type list
Block object keys

class-list

Description: class-list is a JSON Block . Please see below for l841_class-list

Type: Object

Reference Object: /axapi/v3/cgnv6/template/policy/{name}/class-list

name

Description: Policy template name

Type: string

Format: string-rlx

user-tag

Description: Customized tag

Type: string

Format: string-rlx

uuid

Description: uuid of the object

Type: string

policy-list.class-list

Specification
Type object

client-ip-l3-dest

Description: Use destination IP as client IP address

Type: boolean

Supported Values: true, false, 1, 0

Default: 0

Mutual Exclusion: client-ip-l3-dest and client-ip-l7-header are mutually exclusive

client-ip-l7-header

Description: Use extract client IP address from L7 header

Type: boolean

Supported Values: true, false, 1, 0

Default: 0

Mutual Exclusion: client-ip-l7-header and client-ip-l3-dest are mutually exclusive

header-name

Description: Specify L7 header name

Type: string

lid-list

Description: lid-list is a JSON List . Please see below for l841_lid-list

Type: List

Reference Object: /axapi/v3/cgnv6/template/policy/{name}/class-list/lid/{lidnum}

name

Description: Class list name

Type: string

Format: string-rlx

uuid

Description: uuid of the object

Type: string

policy-list.class-list.lid-list

Specification
Type list
Block object keys

action-value

Description: ‘forward’: Forward the traffic even it exceeds limit; ‘reset’: Reset the connection when it exceeds limit;

Type: string

Supported Values: forward, reset

conn-limit

Description: Connection limit

Type: number

Range: 0-1048575

conn-per

Description: Per (Specify interval in number of 100ms)

Type: number

Range: 1-65535

conn-rate-limit

Description: Specify connection rate limit

Type: number

Range: 1-2147483647

dns64

Description: dns64 is a JSON Block . Please see below for l841_dns64

Type: Object

interval

Description: Specify log interval in minutes, by default system will log every over limit instance

Type: number

Range: 1-255

lidnum

Description: Specify a limit ID

Type: number

Range: 1-31

lockout

Description: Don’t accept any new connection for certain time (Lockout duration in minutes)

Type: number

Range: 1-1023

log

Description: Log a message

Type: boolean

Supported Values: true, false, 1, 0

Default: 0

over-limit-action

Description: Set action when exceeds limit

Type: boolean

Supported Values: true, false, 1, 0

Default: 0

request-limit

Description: Request limit (Specify request limit)

Type: number

Range: 0-1048575

request-per

Description: Per (Specify interval in number of 100ms)

Type: number

Range: 1-65535

request-rate-limit

Description: Request rate limit (Specify request rate limit)

Type: number

Range: 1-4294967295

user-tag

Description: Customized tag

Type: string

Format: string-rlx

uuid

Description: uuid of the object

Type: string

policy-list.class-list.lid-list.dns64

Specification
Type object

disable

Description: Disable

Type: boolean

Supported Values: true, false, 1, 0

Default: 0

exclusive-answer

Description: Exclusive Answer in DNS Response

Type: boolean

Supported Values: true, false, 1, 0

Default: 0

prefix

Description: IPv6 prefix

Type: string

Format: ipv6-address-plen

logging-list

Specification
Type list
Block object keys

batched-logging-disable

Description: Disable multiple logs per packet

Type: boolean

Supported Values: true, false, 1, 0

Default: 0

custom

Description: custom is a JSON Block . Please see below for l841_custom

Type: Object

facility

Description: ‘kernel’: 0: Kernel; ‘user’: 1: User-level; ‘mail’: 2: Mail; ‘daemon’: 3: System daemons; ‘security-authorization’: 4: Security/authorization; ‘syslog’: 5: Syslog internal; ‘line-printer’: 6: Line printer; ‘news’: 7: Network news; ‘uucp’: 8: UUCP subsystem; ‘cron’: 9: Time-related; ‘security-authorization-private’: 10: Private security/authorization; ‘ftp’: 11: FTP; ‘ntp’: 12: NTP; ‘audit’: 13: Audit; ‘alert’: 14: Alert; ‘clock’: 15: Clock-related; ‘local0’: 16: Local use 0; ‘local1’: 17: Local use 1; ‘local2’: 18: Local use 2; ‘local3’: 19: Local use 3; ‘local4’: 20: Local use 4; ‘local5’: 21: Local use 5; ‘local6’: 22: Local use 6; ‘local7’: 23: Local use 7;

Type: string

Supported Values: kernel, user, mail, daemon, security-authorization, syslog, line-printer, news, uucp, cron, security-authorization-private, ftp, ntp, audit, alert, clock, local0, local1, local2, local3, local4, local5, local6, local7

Default: local0

format

Description: ‘binary’: Binary logging format; ‘compact’: Compact ASCII logging format (Hex format with compact representation); ‘custom’: Arbitrary custom logging format; ‘default’: Default A10 logging format (ASCII); ‘rfc5424’: RFC5424 compliant logging format;

Type: string

Supported Values: binary, compact, custom, default, rfc5424

Default: default

include-destination

Description: Include the destination IP and port in logs

Type: boolean

Supported Values: true, false, 1, 0

Default: 0

include-http

Description: include-http is a JSON Block . Please see below for l841_include-http

Type: Object

include-inside-user-mac

Description: Include the inside user MAC address in logs

Type: boolean

Supported Values: true, false, 1, 0

Default: 0

include-partition-name

Description: Include partition name in logging events

Type: boolean

Supported Values: true, false, 1, 0

Default: 0

include-radius-attribute

Description: include-radius-attribute is a JSON Block . Please see below for l841_include-radius-attribute

Type: Object

log

Description: log is a JSON Block . Please see below for l841_log

Type: Object

log-receiver

Description: log-receiver is a JSON Block . Please see below for l841_log-receiver

Type: Object

name

Description: Logging template name

Type: string

Format: string-rlx

resolution

Description: ‘seconds’: Logging timestamp resolution in seconds (default); ‘10-milliseconds’: Logging timestamp resolution in 10s of milli-seconds;

Type: string

Supported Values: seconds, 10-milliseconds

Default: seconds

rfc-custom

Description: rfc-custom is a JSON Block . Please see below for l841_rfc-custom

Type: Object

rule

Description: rule is a JSON Block . Please see below for l841_rule

Type: Object

service-group

Description: Set NAT logging service-group

Type: string

Format: string-rlx

severity

Description: severity is a JSON Block . Please see below for l841_severity

Type: Object

shared

Description: Service group is in shared patition

Type: boolean

Supported Values: true, false, 1, 0

Default: 0

source-address

Description: source-address is a JSON Block . Please see below for l841_source-address

Type: Object

source-port

Description: source-port is a JSON Block . Please see below for l841_source-port

Type: Object

user-tag

Description: Customized tag

Type: string

Format: string-rlx

uuid

Description: uuid of the object

Type: string

logging-list.include-http

Specification
Type object

header-cfg

Description: header-cfg is a JSON List . Please see below for l841_header-cfg

Type: List

l4-session-info

Description: Log the L4 session information of the HTTP request

Type: boolean

Supported Values: true, false, 1, 0

Default: 0

method

Description: Log the HTTP Request Method

Type: boolean

Supported Values: true, false, 1, 0

Default: 0

request-number

Description: HTTP Request Number

Type: boolean

Supported Values: true, false, 1, 0

Default: 0

logging-list.include-http.header-cfg

Specification
Type list
Block object keys

custom-header-name

Description: Header name

Type: string

custom-max-length

Description: Max length for a HTTP request log (Max header length (Default: 100 char))

Type: number

Range: 100-1000

Default: 100

http-header

Description: ‘cookie’: Log HTTP Cookie Header; ‘referer’: Log HTTP Referer Header; ‘user-agent’: Log HTTP User-Agent Header; ‘header1’: Log HTTP Header 1; ‘header2’: Log HTTP Header 2; ‘header3’: Log HTTP Header 3;

Type: string

Supported Values: cookie, referer, user-agent, header1, header2, header3

max-length

Description: Max length for a HTTP request log (Max header length (Default: 100 char))

Type: number

Range: 100-1000

Default: 100

logging-list.severity

Specification
Type object

severity-string

Description: ‘emergency’: 0: Emergency; ‘alert’: 1: Alert; ‘critical’: 2: Critical; ‘error’: 3: Error; ‘warning’: 4: Warning; ‘notice’: 5: Notice; ‘informational’: 6: Informational; ‘debug’: 7: Debug;

Type: string

Supported Values: emergency, alert, critical, error, warning, notice, informational, debug

Default: debug

Mutual Exclusion: severity-string and severity-val are mutually exclusive

severity-val

Description: Logging severity level

Type: number

Range: 0-7

Default: 7

Mutual Exclusion: severity-val and severity-string are mutually exclusive

logging-list.custom

Specification
Type object

custom-header

Description: ‘use-syslog-header’: Use syslog header as custom log header;

Type: string

Supported Values: use-syslog-header

custom-message

Description: custom-message is a JSON Block . Please see below for l841_custom-message

Type: Object

custom-time-stamp-format

Description: Customize the time stamp format (Customize the time-stamp format. Default:%Y%m%d%H%M%S)

Type: string

Format: string-rlx

logging-list.custom.custom-message

Specification
Type object

custom-fixed-nat-allocated

Description: Fixed-NAT allocated (Custom message string)

Type: string

Format: string-rlx

custom-fixed-nat-freed

Description: Fixed-NAT freed (Custom message string)

Type: string

Format: string-rlx

custom-http-request-got

Description: HTTP request got (Custom message string)

Type: string

Format: string-rlx

custom-port-allocated

Description: Port allocated (Custom message string)

Type: string

Format: string-rlx

custom-port-batch-allocated

Description: Port Batch allocated (Custom message string)

Type: string

Format: string-rlx

custom-port-batch-freed

Description: Port Batch freed (Custom message string)

Type: string

Format: string-rlx

custom-port-freed

Description: Port freed (Custom message string)

Type: string

Format: string-rlx

custom-session-created

Description: Session created (Custom message string)

Type: string

Format: string-rlx

custom-session-deleted

Description: Session deleted (Custom message string)

Type: string

Format: string-rlx

logging-list.source-address

Specification
Type object

ip

Description: Specify source IP address

Type: string

Format: ipv4-address

ipv6

Description: Specify source IPv6 address

Type: string

Format: ipv6-address

logging-list.log

Specification
Type object

fixed-nat

Description: fixed-nat is a JSON Block . Please see below for l841_fixed-nat

Type: Object

http-requests

Description: ‘host’: Log the HTTP Host Header; ‘url’: Log the HTTP Request URL;

Type: string

Supported Values: host, url

port-mappings

Description: ‘creation’: Log only creation of NAT mappgins; ‘disable’: Disable Log creation and deletion of NAT mappings;

Type: string

Supported Values: creation, disable

port-overloading

Description: Force logging of all port-overloading sessions

Type: boolean

Supported Values: true, false, 1, 0

Default: 0

sessions

Description: Log all data sessions created using NAT

Type: boolean

Supported Values: true, false, 1, 0

Default: 0

logging-list.log.fixed-nat

Specification
Type object

fixed-nat-http-requests

Description: ‘host’: Log the HTTP Host Header; ‘url’: Log the HTTP Request URL;

Type: string

Supported Values: host, url

fixed-nat-port-mappings

Description: ‘both’: Log creation and deletion of NAT mappings; ‘creation’: Log creation of NAT mappings;

Type: string

Supported Values: both, creation

fixed-nat-sessions

Description: Log all Fixed NAT sessions

Type: boolean

Supported Values: true, false, 1, 0

Default: 0

user-ports

Description: user-ports is a JSON Block . Please see below for l841_user-ports

Type: Object

logging-list.log.fixed-nat.user-ports

Specification
Type object

days

Description: Specify period in days

Type: number

Range: 1-30

start-time

Description: Time when periodic logging starts (Specify start time(hh:mm))

Type: string

Format: time-hhmm

user-ports

Description: Log Fixed NAT User Ports Configured

Type: boolean

Supported Values: true, false, 1, 0

Default: 0

logging-list.source-port

Specification
Type object

any

Description: Use any source port

Type: boolean

Supported Values: true, false, 1, 0

Default: 0

Mutual Exclusion: any and source-port-num are mutually exclusive

source-port-num

Description: Set source port for sending NAT syslogs (default: 514)

Type: number

Range: 1-65535

Default: 514

Mutual Exclusion: source-port-num and any are mutually exclusive

logging-list.log-receiver

Specification
Type object

encrypted

Description: Do NOT use this option manually. (This is an A10 reserved keyword.) (The ENCRYPTED secret string)

radius

Description: Use RADIUS server for NAT logging

Type: boolean

Supported Values: true, false, 1, 0

Default: 0

secret-string

Description: The RADIUS server’s secret

Type: string

Format: password

logging-list.include-radius-attribute

Specification
Type object

attr-cfg

Description: attr-cfg is a JSON List . Please see below for l841_attr-cfg

Type: List

logging-list.include-radius-attribute.attr-cfg

Specification
Type list
Block object keys

attr

Description: ‘imei’: Include IMEI; ‘imsi’: Include IMSI; ‘msisdn’: Include MSISDN; ‘custom1’: Customized attribute 1; ‘custom2’: Customized attribute 2; ‘custom3’: Customized attribute 3;

Type: string

Supported Values: imei, imsi, msisdn, custom1, custom2, custom3

attr-event

Description: ‘http-requests’: Include in HTTP request logs; ‘port-mappings’: Include in port-mapping logs; ‘sessions’: Include in session logs;

Type: string

Supported Values: http-requests, port-mappings, sessions

logging-list.rule

Specification
Type object

rule-http-requests

Description: rule-http-requests is a JSON Block . Please see below for l841_rule-http-requests

Type: Object

logging-list.rule.rule-http-requests

Specification
Type object

dest-port

Description: dest-port is a JSON List . Please see below for l841_dest-port

Type: List

log-every-http-request

Description: Log every HTTP request in an HTTP 1.1 session (Default: Log the first HTTP request in a session)

Type: boolean

Supported Values: true, false, 1, 0

Default: 0

max-url-len

Description: Max length of URL log (Max URL length (Default: 100 char))

Type: number

Range: 100-1000

Default: 100

logging-list.rule.rule-http-requests.dest-port

Specification
Type list
Block object keys

dest-port-number

Description:

Type: number

Range: 1-65535

include-byte-count

Description: Include the byte count of HTTP Request/Response in CGN session deletion logs

Type: boolean

Supported Values: true, false, 1, 0

Default: 0

logging-list.rfc-custom

Specification
Type object

header

Description: header is a JSON Block . Please see below for l841_header

Type: Object

message

Description: message is a JSON Block . Please see below for l841_message

Type: Object

logging-list.rfc-custom.header

Specification
Type object

use-alternate-timestamp

Description: Use alternate non-RFC5424 compliant timestamp. Ex: 1990 Jan 15 12:30:30

Type: boolean

Supported Values: true, false, 1, 0

Default: 0

logging-list.rfc-custom.message

Specification
Type object

http-request-got

Description: HTTP request got (Custom message string. Should be in the format of “MSGID [STRUCTURED-DATA] MSG”)

Type: string

Format: string-rlx

ipv6-tech

Description: ipv6-tech is a JSON List . Please see below for l841_ipv6-tech

Type: List

session-created

Description: Session created (Custom message string. Should be in the format of “MSGID [STRUCTURED-DATA] MSG”)

Type: string

Format: string-rlx

session-deleted

Description: Session deleted (Custom message string. Should be in the format of “MSGID [STRUCTURED-DATA] MSG”)

Type: string

Format: string-rlx

logging-list.rfc-custom.message.ipv6-tech

Specification
Type list
Block object keys

fixed-nat-allocated

Description: Fixed-NAT allocated (Custom message string. Should be in the format of “MSGID [STRUCTURED-DATA] MSG”)

Type: string

Format: string-rlx

fixed-nat-freed

Description: Fixed-NAT freed (Custom message string. Should be in the format of “MSGID [STRUCTURED-DATA] MSG”)

Type: string

Format: string-rlx

port-allocated

Description: Port allocated (Custom message string. Should be in the format of “MSGID [STRUCTURED-DATA] MSG”)

Type: string

Format: string-rlx

port-batch-allocated

Description: Port Batch allocated (Custom message string. Should be in the format of “MSGID [STRUCTURED-DATA] MSG”)

Type: string

Format: string-rlx

port-batch-freed

Description: Port Batch freed (Custom message string. Should be in the format of “MSGID [STRUCTURED-DATA] MSG”)

Type: string

Format: string-rlx

port-freed

Description: Port freed (Custom message string. Should be in the format of “MSGID [STRUCTURED-DATA] MSG”)

Type: string

Format: string-rlx

tech-type

Description: ‘lsn’: LSN; ‘nat64’: NAT64; ‘ds-lite’: DS-Lite; ‘sixrd-nat64’: 6rd-NAT64;

Type: string

Supported Values: lsn, nat64, ds-lite, sixrd-nat64

pcp-list

Specification
Type list
Block object keys

allow-third-party-from-lan

Description: Allow third party request coming from LAN (default is disabled)

Type: boolean

Supported Values: true, false, 1, 0

Default: 0

allow-third-party-from-wan

Description: Allow third party request coming from WAN (default is disabled)

Type: boolean

Supported Values: true, false, 1, 0

Default: 0

announce

Description: PCP ANNOUNCE Opcode (default is enabled)

Type: boolean

Supported Values: true, false, 1, 0

Default: 0

check-client-nonce

Description: To validate NONCE value in PCP request (default: disabled)

Type: boolean

Supported Values: true, false, 1, 0

Default: 0

disable-map-filter

Description: To disable processing of FILTER options in MAP request

Type: boolean

Supported Values: true, false, 1, 0

Default: 0

map

Description: PCP MAP Opcode (default is enabled)

Type: boolean

Supported Values: true, false, 1, 0

Default: 0

maximum

Description: To set maximum lifetime of PCP mappings (default 1440 minutes)

Type: number

Range: 2-1440

Default: 1440

minimum

Description: To set minimum lifetime of PCP mappings (default 2 minutes)

Type: number

Range: 2-1440

Default: 2

name

Description: PCP Template name

Type: string

Format: string-rlx

pcp-server-port

Description: PCP server listening port (default 5351) (PCP UDP destination port)

Type: number

Range: 1024-65535

Default: 5351

peer

Description: PCP PEER Opcode (default is enabled)

Type: boolean

Supported Values: true, false, 1, 0

Default: 0

source-ip

Description: Specify source IP address for IPv4 ANNOUNCE message

Type: string

Format: ipv4-address

source-ipv6

Description: Specify source IPv6 address for IPv6 ANNOUNCE message

Type: string

Format: ipv6-address

user-tag

Description: Customized tag

Type: string

Format: string-rlx

uuid

Description: uuid of the object

Type: string

http-alg-list

Specification
Type list
Block object keys

encrypted

Description: Do NOT use this option manually. (This is an A10 reserved keyword.) (The ENCRYPTED secret string)

header-name-client-ip

Description: Header name (default: X-Forwarded-For)

Type: string

Default: X-Forwarded-For

header-name-msisdn

Description: Header name (default: X-MSISDN)

Type: string

Default: X-MSISDN

include-tunnel-ip

Description: Include the tunnel IP (applies to DS-Lite and 6RD-NAT64 sessions)

Type: boolean

Supported Values: true, false, 1, 0

Default: 0

method

Description: ‘append’: Append if there is already a header (default); ‘replace’: Replace if there is already a header;

Type: string

Supported Values: append, replace

Default: append

name

Description: HTTP-ALG template name

Type: string

Format: string-rlx

radius-sg

Description: RADIUS service group (RADIUS service group name)

Type: string

Format: string-rlx

Reference Object: /axapi/v3/cgnv6/service-group

request-insert-client-ip

Description: Insert Client IP into HTTP request

Type: boolean

Supported Values: true, false, 1, 0

Default: 0

request-insert-msisdn

Description: Insert MSISDN into HTTP request

Type: boolean

Supported Values: true, false, 1, 0

Default: 0

retry

Description: Specify the maximum retries allowed for sending an request to a RADIUS server (default 2) (The maximum retries allowed for sending an request to the radius server (default 2))

Type: number

Range: 0-3

Default: 2

retry-svr-num

Description: Specify the maximum RADIUS servers allowed to try (default 0)

Type: number

Range: 0-1

Default: 0

secret-string

Description: The RADIUS secret

Type: string

Format: password

timeout

Description: The maximum time allowed for waiting for a response from a radius server (default 2)

Type: number

Range: 1-3

Default: 2

user-tag

Description: Customized tag

Type: string

Format: string-rlx

uuid

Description: uuid of the object

Type: string

dns-list

Specification
Type list
Block object keys

class-list

Description: class-list is a JSON Block . Please see below for l841_class-list

Type: Object

Reference Object: /axapi/v3/cgnv6/template/dns/{name}/class-list

default-policy

Description: ‘nocache’: Cache disable; ‘cache’: Cache enable;

Type: string

Supported Values: nocache, cache

Default: nocache

disable-dns-template

Description: Disable DNS template

Type: boolean

Supported Values: true, false, 1, 0

Default: 0

dns64

Description: dns64 is a JSON Block . Please see below for l841_dns64

Type: Object

Reference Object: /axapi/v3/cgnv6/template/dns/{name}/dns64

drop

Description: Drop the malformed query

Type: boolean

Supported Values: true, false, 1, 0

Default: 0

Mutual Exclusion: drop and forward are mutually exclusive

forward

Description: Forward to service group (Service group name)

Type: string

Mutual Exclusion: forward and drop are mutually exclusive

max-cache-size

Description: Define maximum cache size (Maximum cache entry per VIP)

Type: number

name

Description: DNS Template Name

Type: string

Format: string-rlx

period

Description: Period in minutes

Type: number

Range: 1-10000

user-tag

Description: Customized tag

Type: string

Format: string-rlx

uuid

Description: uuid of the object

Type: string

dns-list.class-list

Specification
Type object

lid-list

Description: lid-list is a JSON List . Please see below for l841_lid-list

Type: List

Reference Object: /axapi/v3/cgnv6/template/dns/{name}/class-list/lid/{lidnum}

name

Description: Specify a class list name

Type: string

Format: string-rlx

uuid

Description: uuid of the object

Type: string

dns-list.class-list.lid-list

Specification
Type list
Block object keys

action-value

Description: ‘dns-cache-disable’: Disable DNS cache when it exceeds limit; ‘dns-cache-enable’: Enable DNS cache when it exceeds limit; ‘forward’: Forward the traffic even it exceeds limit;

Type: string

Supported Values: dns-cache-disable, dns-cache-enable, forward

conn-rate-limit

Description: Connection rate limit

Type: number

Range: 1-2147483647

dns

Description: dns is a JSON Block . Please see below for l841_dns

Type: Object

lidnum

Description: Specify a limit ID

Type: number

Range: 1-31

lockout

Description: Don’t accept any new connection for certain time (Lockout duration in minutes)

Type: number

Range: 1-1023

log

Description: Log a message

Type: boolean

Supported Values: true, false, 1, 0

Default: 0

log-interval

Description: Log interval (minute, by default system will log every over limit instance)

Type: number

Range: 1-255

over-limit-action

Description: Action when exceeds limit

Type: boolean

Supported Values: true, false, 1, 0

Default: 0

per

Description: Per (Number of 100ms)

Type: number

Range: 1-65535

user-tag

Description: Customized tag

Type: string

Format: string-rlx

uuid

Description: uuid of the object

Type: string

dns-list.class-list.lid-list.dns

Specification
Type object

cache-action

Description: ‘cache-disable’: Disable dns cache; ‘cache-enable’: Enable dns cache;

Type: string

Supported Values: cache-disable, cache-enable

Default: cache-disable

ttl

Description: TTL for cache entry (TTL in seconds)

Type: number

Range: 1-65535

weight

Description: Weight for cache entry

Type: number

Range: 1-7

dns-list.dns64

Specification
Type object

answer-only-disable

Description: Disable Only translate the Answer Section

Type: boolean

Supported Values: true, false, 1, 0

Default: 0

auth-data

Description: Set AA flag in DNS Response

Type: boolean

Supported Values: true, false, 1, 0

Default: 0

cache

Description: Generate Response by DNS Cache

Type: boolean

Supported Values: true, false, 1, 0

Default: 0

change-query

Description: Always change incoming AAAA DNS Query to A

Type: boolean

Supported Values: true, false, 1, 0

Default: 0

compress-disable

Description: Disable Always try DNS Compression

Type: boolean

Supported Values: true, false, 1, 0

Default: 0

deep-check-rr-disable

Description: Disable Check DNS Response Records

Type: boolean

Supported Values: true, false, 1, 0

Default: 0

drop-cname-disable

Description: Disable Drop DNS CNAME Response

Type: boolean

Supported Values: true, false, 1, 0

Default: 0

enable

Description: Enable DNS64 (Need to config this option before config any other dns64 options)

Type: boolean

Supported Values: true, false, 1, 0

Default: 0

ignore-rcode3-disable

Description: Disable Ignore DNS error Response with rcode 3

Type: boolean

Supported Values: true, false, 1, 0

Default: 0

max-qr-length

Description: Max Question Record Length, default is 128

Type: number

Range: 1-1023

Default: 128

parallel-query

Description: Forward AAAA Query & generate A Query in parallel

Type: boolean

Supported Values: true, false, 1, 0

Default: 0

passive-query-disable

Description: Disable Generate A query upon empty or error Response

Type: boolean

Supported Values: true, false, 1, 0

Default: 0

retry

Description: Retry count, default is 3 (Retry Number)

Type: number

Range: 0-15

Default: 3

single-response-disable

Description: Disable Single Response which is used to avoid ambiguity

Type: boolean

Supported Values: true, false, 1, 0

Default: 0

timeout

Description: Timeout to send additional Queries, unit: second, default is 1

Type: number

Range: 0-15

Default: 1

trans-ptr

Description: Translate DNS PTR Records

Type: boolean

Supported Values: true, false, 1, 0

Default: 0

trans-ptr-query

Description: Translate DNS PTR Query

Type: boolean

Supported Values: true, false, 1, 0

Default: 0

ttl

Description: Specify Max TTL in DNS Response, unit: second

Type: number

Range: 1-1000000000

uuid

Description: uuid of the object

Type: string