< Home

display dns-smart

Function

The display dns-smart command displays the smart DNS information.

Format

display dns-smart { group group-id | all }

Parameters

Parameter Description Value
group-id Specifies the ID of a smart DNS group. The value is an integer ranging from 0 to 31.
all Specifies all the smart DNS groups. -

Views

All views

Default Level

2: Configuration level

Usage Guidelines

None

Example

# Display the information about all the smart DNS groups.

<sysname> display dns-smart all
  Display the configuration of Smart DNS balance group
 Total   3 Smart DNS balance-group(s)
 Smart DNS       : enable
 ID              : 0                  Group-type    : multi
 Real-server-IP  : ***                Metric        : out-interface
 Weight-rule wrr : ---               
 Weight-rule rr  : ---               
 Map             : out-interface:GigabitEthernet0/0/6  map-ip:5.5.5.55         
                   out-interface:GigabitEthernet0/0/5  map-ip:2.2.2.2          
 Description     : ---

 ID              : 1                  Group-type    : single
 Real-server-IP  : 10.10.10.10        Metric        : roundrobin
 Weight-rule wrr : ---               
 Weight-rule rr  : ip 2.2.2.2
                   ip 1.1.1.1
 Map             : ---
 Description     : ---

 ID              : 2                  Group-type    : single
 Real-server-IP  : 11.11.11.11        Metric        : weightrr
 Weight-rule wrr : ip 2.2.2.2 weight 32
                   ip 1.1.1.1 weight 32
 Weight-rule rr  : ---               
 Map             : ---
 Description     : ---

Table 1 shows the description of the display dns-smart all command output.

Table 1 Description of the display dns-smart all command output

Item

Description

Total

Number of smart DNS groups

Smart DNS

Status of the smart DNS function

ID

ID of a smart DNS group

Group-type

Type of a smart DNS group

  • single: indicates a smart DNS group with a single server.

  • multiple: indicates a smart DNS group with multiple servers.

Real-server-IP

IP address of the source server before smart DNS mapping

Metric

Mode of the traffic allocation

Weight-rule wrr

Weight rule in weighted round robin (WRR)

Weight-rule rr

Weight rule in round robin (RR)

Map

Smart DNS mapping

out-interface

Outbound interface connecting to the ISP

map-ip

Smart DNS-mapped address

Description

Description of a smart DNS group

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >