< Home

display dns-server

Function

Using the display dns-server command, you can view the information about the DNS server of a virtual gateway.

Format

display dns-server

Parameters

None

Views

Basic view

Default Level

0: Visit level

Usage Guidelines

None

Example

# Display the information about the DNS servers of a virtual gateway.

<sysname> system-view
[sysname] v-gateway gateway
[sysname-gateway] basic
[sysname-gateway-basic] display dns-server
                                                                                
  VG DNS Server Information                                                     
  -----------------------                                                       
  No.1 DNS Server IP:  10.10.10.1                                               
  No.2 DNS Server IP:  10.10.10.2                                               
  No.3 DNS Server IP:  10.10.10.3                                               

  ----End
Table 1 Description of the display dns-server command output

Item

Description

No.1 DNS Server IP

The IP address of No.1 DNS server.

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