Help Center> Intelligent EdgeFabric> Edgectl User Guide> edgectl Commands> Checking an Item> Checking the Domain Name Resolution Function

Checking the Domain Name Resolution Function

Function

This command is used to check whether the domain name resolution function of a node is normal.

Syntax

edgectl check dns [params]

Parameters

Table 1 Parameter description

Parameter

Mandatory

Shorthand

Description

--domain-name

No

-d

Domain name to be resolved by edgectl.

By default, the domain name of IEF in the CN South-Guangzhou region is used, that is, ief-edgeaccess.cn-south-1.myhuaweicloud.com.

For details about the domain names of IEFs in other regions, see IEF Cloud Endpoints.

Example

Check the domain name resolution function.

edgectl check dns

The following is an example of the command output:

Domain name ief-edgeaccess.cn-south-1.myhuaweicloud.com is resolved to [117.78.27.143].

+--------------------+
| DNS check succeed. |
+--------------------+