< Home

display dns dynamic-host

Function

The display dns dynamic-host command displays dynamic DNS entries saved in the domain name cache.

Format

display dns dynamic-host [ ip | naptr | srv ] [ domain-name ] [ slot slot-id cpu cpu-id ]

Parameters

Parameter

Description

Value

ip

Specifies the Class-A and PTR query dynamic DNS entries.

-

naptr

Specifies the NAPTR query dynamic DNS entries.

-

srv

Specifies the SRV query dynamic DNS entries.

-

domain-name

Specifies the dynamic DNS entries of a domain name.

The value must be an existing domain name suffix.

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

You can run the display dns dynamic-host command to view dynamic DNS entries saved in the domain name cache and check whether domain names match the mapping entries.

Example

# Display the dynamic DNS entries saved in the domain name cache.

<sysname> display dns dynamic-host
Host                                     TTL        Type   Address                                                                  
sipx.autosrv.com                         114        IP     192.168.1.1                        
sip.autosrv.com                          237        IP     192.168.1.2                           
sip.autonaptr.com                        117        IP     192.168.1.3                        
_sip._tcp.autosrv.com                    55         SRV    0 0 0 sipx.autosrv.com   
                                                           0 0 0 sip.autosrv.com      
autonaptr.com                            0          NAPTR  101 10 A SIP+D2T  sip.autona

Total  :  5 
Table 1 Description of the display dns dynamic-host command output

Item

Description

Host

Domain name.

  • sipx.autosrv.com: indicates the domain name of the server providing the SIP service.
  • _sip._tcp.autosrv.com: indicates the domain name of the server providing the SIP service through TCP in autosrv.com.
  • autonaptr.com: indicates the domain name in the NAPTR resource record.

TTL

Time left before dynamic DNS entries saved in the cache age out, in seconds.

Type

Query type:

  • IP: Class-A query, which is used to request the IP address corresponding to a domain name, or Pointer (PTR) query, which is used to request the domain name corresponding to an IP address.
  • SRV: Service Record (SRV) query, which is used to obtain information about a server based on the protocol running on the server, including the domain name and port number.
  • NAPTR: Naming Authority Pointer (NAPTR) query, which is used to obtain information about a server based on the server's domain name, including the IP address, and the transmission protocol.

Address

IP address mapping the domain name.

  • 192.168.1.1: indicates the IPv4 address.
  • 0 0 0 sipx.autosrv.com: indicates the SRV query result. In the SRV query result, 0 0 0 indicates the priority, weight, and port number respectively, and sipx.autosrv.com indicates the domain name of the server providing the SIP service.
  • 101 10 A SIP+D2T sip.autona: indicates the NAPTR query result. In the NAPTR query result, 101 10 indicates the NAPTR resource record sequence and priority; A indicates that the IP address to be queried; SIP+D2T indicates that SIP and TCP are used; sip.autona indicates the domain name to be queried.
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >