36
Parameters
ip-address
: Specifies the expected IP address for a DNS echo request.
Usage guidelines
During a DNS operation, the NQA client compares the expected IP address with the IP address
resolved by the DNS server. If they are the same, it considers the DNS server legal.
Examples
# In DNS template view, configure the expected IP address as 1.1.1.1.
<Sysname> system-view
[Sysname] nqa template dns dnstplt
[Sysname-nqatplt-dns-dnstplt] expect ip 1.1.1.1
expect ipv6
Use
expect ipv6
to specify the expected IPv6 address.
Use
undo expect ipv6
to remove all expected IPv6 addresses.
Syntax
expect ipv6
ipv6-address
undo expect ipv6
Default
No expected IPv6 address is configured.
Views
DNS template view
Predefined user roles
network-admin
mdc-admin
Parameters
ip-address
: Specifies the expected IPv6 address for a DNS echo request.
Usage guidelines
During a DNS operation, the NQA client compares the expected IPv6 address with the IPv6 address
resolved by the DNS server. If they are the same, it considers the DNS server legal.
Examples
# In DNS template view, configure the expected IPv6 address as 1::1.
<Sysname> system-view
[Sysname] nqa template dns dnstplt
[Sysname-nqatplt-dns-dnstplt] expect ipv6 1::1
expect status
Use
expect status
to configure the expected status code.
Use
undo expect status
to restore the default.
Syntax
expect status
status-list