The display dns forward table command displays the DNS forwarding table, including the mapping entry of the source IP address in a specified DNS query message.
Parameter |
Description |
Value |
|---|---|---|
source-ip ip-address |
Specifies the source IP address in query messages. |
The value is in dotted decimal notation. |
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. |
- |
After DNS proxy or DNS relay is enabled, you can run the display dns forward table command to view the DNS table of IP addresses.
When the device receives DNS request packets form the client but does not receive DNS reply packets from the server, you need to run the display dns forward table command to view the DNS forwarding table.
# Display the DNS table on the DNS proxy or DNS relay.
<sysname> display dns forward table
mng-plane:
Domain name : ma.huawei.com
Source IP : 192.168.1.3
Source port : 33025
Source packet id : 42564
Forward packet id : 1
Query type : 1
ctrl-plane:
Domain name : ma.huawei.com
Source IP : 192.168.1.3
Source port : 33025
Source packet id : 42564
Forward packet id : 1
Query type : 1
Item |
Description |
|---|---|
mng-plane |
DNS forwarding table on the management plane. |
ctrl-plane |
DNS forwarding table on the control plane. |
Domain name |
Domain name. |
Source IP |
IP address of the client. |
Source port |
Port number of the client. |
Source packet id |
ID of the request packet from the client. |
Forward packet id |
ID of the forwarded packet, which corresponds to the ID of the request packet from the client. |
Query type |
Query type:
|