< Home

display dns configuration

Function

The display dns configuration command displays the global DNS configurations.

Format

display dns configuration [ slot slot-id cpu cpu-id ]

Parameters

Parameter Description Value

slot-id

Specifies the slot ID.

Only the USG6635E/6655E, USG6680E and USG6712E/6716E support this parameter.

-

cpu-id

Specifies the CPU ID.

Only the USG6635E/6655E, USG6680E and USG6712E/6716E support this parameter.

-

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

None

Example

# Display the global DNS configurations.

<sysname> display dns configuration
 -------------------------------------------------------------------------------
 Dns resolve                        :  Disabled                                 
 DNS-server-select-algorithm        :  Auto                                     
 Dns server source ip address       :  -                                        
 Dns server source ipv6 address     :  -  Dns server source interface        :  GigabitEthernet0/0/5
 Dns proxy                          :  Disabled                                 
 Dns IPv6 proxy                     :  Enabled
 Dns relay                          :  Disabled                                 
 Dns IPv6 relay                     :  Enabled
 Dns forward retry-number           :  2                                        
 Dns forward retry-timeout          :  3                                        
 Dns application cache ttl limit    :  3600 ~ 86400                             
 Dns server unnumbered interface      :  GigabitEthernet0/0/3                                                                         Dns server ipv6 unnumbered interface :  GigabitEthernet0/0/3 dhcpv6
 -------------------------------------------------------------------------------
Table 1 Description of the display dns configuration command output
Item
Description

Dns resolve

Whether dynamic DNS resolution is enabled. The value can be:
  • Enabled: Dynamic DNS resolution is enabled.
  • Disabled: Dynamic DNS resolution is disabled.

To enable dynamic DNS resolution, run the dns resolve command.

DNS-server-select-algorithm

Algorithm for selecting a destination DNS server. The value can be:
  • Fixed: The destination DNS server is selected in fixed order.
  • Auto: The destination DNS server is selected in auto order.

To specify an algorithm for selecting a destination DNS server, run the dns-server-select-algorithm command.

Dns server source ip address

Source IP address of the local device for communication.

To set the source IP address of the local device, run the dns server source-ip command.

Dns server source ipv6 address

Source IPv6 address of the local device for communication.

To set the source IPv6 address of the local device, run the dns server ipv6 source-ip command.

Dns server source interface

Whether the IP address of a specified interface is used as the source IP address for DNS communication on the local device.

To set the IP address of a specified interface as the source IP address, run the dns server source-interface command.

Dns proxy

Whether DNS proxy is enabled. The value can be:
  • Enabled: DNS proxy is enabled.
  • Disabled: DNS proxy is disabled.

To enable DNS proxy, run the dns proxy enable command.

Dns IPv6 proxy

Whether IPv6 DNS proxy is enabled. The value can be:
  • Enabled: IPv6 DNS proxy is enabled.
  • Disabled: IPv6 DNS proxy is disabled.

To enable IPv6 DNS proxy, run the dns proxy ipv6 enable command.

Dns relay

Whether DNS relay is enabled. The value can be:
  • Enabled: DNS relay is enabled.
  • Disabled: DNS relay is disabled.

To enable DNS relay, run the dns relay enable command.

Dns IPv6 relay

Whether IPv6 DNS relay is enabled. The value can be:
  • Enabled: IPv6 DNS relay is enabled.
  • Disabled: IPv6 DNS relay is disabled.

To enable IPv6 DNS relay, run the dns relay ipv6 enable command.

Dns forward retry-number

Number of times for retransmitting query messages to the destination DNS server.

To set the number of times for retransmitting query messages to the destination DNS server, run the dns forward retry-number command.

Dns forward retry-timeout

Retransmission timeout period that the device sends query messages to the destination DNS server.

To set the retransmission timeout period that the device sends query messages to the destination DNS server, run the dns forward retry-timeout command.

Dns application cache ttl limit

Limited TTL of the Cache of application domain name resolution.

This parameter can be configured using the command dns application cache ttl.

Dns server unnumbered interface

IPv4 address of the DNS server obtained through a specified interface.

To configure this item, run the dns server unnumbered command.

Dns server ipv6 unnumbered interface

IPv6 address of the DNS server obtained through a specified interface. In the item:
  • dhcpv6: Obtains the IPv6 address of the DNS server from DHCPv6 information of the specified interface.
  • nd-ra: Obtains the IPv6 address of the DNS server from ND information of the specified interface.

To configure this item, run the dns server ipv6 unnumbered command.

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