229
Usage guidelines
If the operation succeeds, the NQA client notifies the feature that uses the template of the successful
operation event.
Examples
# In HTTP template view, if the number of consecutive successful probes reaches 5, the operation
succeeds.
<Sysname> system-view
[Sysname] nqa template http httptplt
[Sysname-nqatplt-http-httptplt] reaction trigger probe-pass 5
resolve-target
Use
resolve-target
to set the domain name for the DNS operation.
Use
undo resolve-target
to restore the default.
Syntax
resolve-target
domain-name
undo resolve-target
Default
No domain name is configured.
Views
DNS operation view, DNS template view
Predefined user roles
network-admin
Parameters
domain-name
: Specifies the domain name to be resolved. It is a dot-separated case-sensitive string
of 1 to 255 characters including letters, digits, hyphens (-), and underscores (_) (for example,
aabbcc.com). Each part consists of 1 to 63 characters, and consecutive dots (.) are not allowed.
Examples
# Set the domain name
domain1
to be resolved.
<Sysname> system-view
[Sysname] nqa entry admin test
[Sysname-nqa-admin-test] type dns
[Sysname-nqa-admin-test-dns] resolve-target domain1
# In DNS template view, set the domain name
domain1
to be resolved.
<Sysname> system-view
[Sysname] nqa template dns dnstplt
[Sysname-nqatplt-dns-dnstplt] resolve-target domain1
resolve-type
Use
resolve-type
to configure the domain name resolution type.
Use
undo resolve-type
to restore the default.
Syntax
resolve-type
{
A
|
AAAA
}