The debugging dns packet command enables the debugging of packets sent and received by the DNS module.
The undo debugging dns packet command disables the debugging of packets sent and received by the DNS module.
By default, the debugging of packets sent and received by the DNS module is disabled.
Usage Scenario
If you want to view information about messages sent and received by the DNS module, run the debugging dns event command.
If you want to view information about IPv4 packets sent or received by the DNS module, run the debugging dns ipv4 packet command to enable the debugging function. To check information about IPv6 packets on the DNS module, run the debugging dns ipv6 packet command to enable debugging of the IPv6 packets.<HUAWEI> debugging dns ipv6 packet
Jan 13 2021 07:13:28.921 HUAWEI %%01DNS/7/dns_ipv6_packet(d):CID=0x807504e0;DNS IPv6 PKT: PKT Type(Send IPv6 pkt); PKT Content: 0a00010000010000 000000000677756a 69616e0000010001 .
<HUAWEI> debugging dns ipv6 packet
Aug 1 2014 16:11:44.028 HUAWEI %%01DNS/7/dns_ipv6_packet(d):CID=0x80750490;DNS IPv6 PKT: PKT Type(Send IPv6 pkt); PKT Content: 1A000100 00010000 00000000 07687561 77656933 03636F6D 00001C00 01.
Aug 1 2014 16:11:44.036 HUAWEI %%01DNS/7/dns_ipv6_packet(d):CID=0x80750490;DNS IPv6 PKT: PKT Type(Receive IPv6 pkt); PKT Content: 1A008580 00010001 00000000 07687561 77656933 03636F6D 00001C00 01C00C00 1C000100 01518000 10201400 00000000 00000000 00000000 01.
Item | Description |
---|---|
PKT Type | DNS packet type. |
PKT Content | DNS packet content. |