69
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
}
undo resolve-type
Default
The domain name resolution type is type A.
Views
DNS template view
Predefined user roles
network-admin
mdc-admin
Parameters
A
: Specifies the type A queries. A type A query resolves a domain name to a mapped IPv4 address.
AAAA
: Specifies the type AAAA queries. A type AAAA query resolves a domain name to a mapped
IPv6 address.
Examples
# In DNS template view, configure the domain name resolution type as
AAAA
.
<Sysname> system-view
[Sysname] nqa template dns dnstplt
[Sysname-nqatplt-dns-dnstplt] resolve-type AAAA
route-option bypass-route
Use
route-option bypass-route
to enable the routing table bypass function to test the connectivity
to the direct destination.
Use
undo
route-option bypass-route
to disable the routing table bypass function.
Syntax
route-option bypass-route
undo route-option bypass-route