< Home

display dns server

Function

The display dns server command displays the configuration and sequence of the current DNS server.

Format

display dns server [ verbose ]

Parameters

Parameter Description Value

verbose

Displays detailed information about the DNS server.

-

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

After configuring DNS, run the display dns server command to view the configuration and sequence of current DNS servers.

Example

# Display configurations of a DNS server.

<sysname> display dns server
Type:                                                                                                                               
D:Dynamic     S:Static                                                                                                              
                                                                                                                                    
IPv4 DNS server :                                                                                                                   
NO. Type Status Used IP Address                                                                                                     
0   S    -      Yes  10.1.1.1                                                                                                        
1   S    -      Yes  10.1.1.2                                                                                                        
2   D    Up     Yes  10.1.1.2                                                                                                        
3   D    Up     Yes  10.1.1.3                                                                                                        
                                                                                                                                    
IPv6 DNS servers :                                                                                                                  
NO. Type Status Used IPv6 Address                            Interface                                                              
0   S    -      Yes  FC00:1::1                               -                                                                      
1   D    -      Yes  FC00:1::1                               -                                                                      
2   D    -      Yes  FC00:1::2                               -    
Table 1 Description of the display dns server command output

Item

Description

Type

Configuration type of the DNS server IP address, including dynamic and static.

IPv4 DNS server

IPv4 DNS server configuration.

NO.

DNS server number, indicating the order in which they were configured.

Status

DNS server status.

Used

Indicates whether the DNS server is used.

IP Address

IPv4 address of the DNS server.

IPv6 Address

IPv6 address of the DNS server.

IPv6 DNS servers

IPv6 DNS server configuration.

Interface

Name of the outbound interface communicating with the DNS server.

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