HP Comware 5 Debug Manual Vol 1

packet: Specifies DNS proxy packet debugging.
error: Specifies DNS proxy error debugging.
Usage guidelines
Table 223 describes output fields and messages for the debugging dns proxy event command.
Table 223 Output from the debugging dns proxy event command
Field
Description
Begin to find query information locally.
Opcode: operation-code
Query type: query-type
Question: query-question
DNS proxy starts searching information locally
according to the client's query.
Operation code of the query:
0Standard query.
1Inverse query.
2Server status query.
Query type:
1Type A query.
12Type PTR query.
28Type AAAA query.
Requested information is found locally.
Query type: query-type
Question: query-question
Answer: answer
DNS proxy locates the requested host name or IP
address locally.
Query type:
1Type A query.
12Type PTR query.
28Type AAAA query.
Table 224 describes output fields and messages for the debugging dns proxy error command.
Table 224 Output from the debugging dns proxy error command
Field
Description
Failed to set socket ioctl option, socket ID: sock-id,
error: error code.
DNS failed to set input output control option for the
socket.
Failed to add an item for too many items.
DNS failed to add an item because the number of
items reached the maximum.
Examples
# Enable DNS proxy.
<Sysname> system-view
[Sysname] dns proxy enable
# Specify the IP address of the domain name server as 192.168.0.244 on the DNS proxy.
[Sysname] dns server 192.168.0.244
# Configure a static entry with host name www.aabbcc.com and IP address 11.11.11.11 on the DNS proxy.
The DNS proxy is specified as the domain name server on the DNS client.
[Sysname] ip host www.aabbcc.com 11.11.11.11
[Sysname] quit
# Enable all types of debugging for DNS proxy.
416