Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func UnpackDNSMsgPartially ¶
UnpackDNSMsgPartially is modified from https://github.com/miekg/dns/blob/6ad6301ae27dca6d7822baf1b05ff9c9e4ba56f4/msg.go#L883. It can unpack a DNS response with partial data only. More specifically, it unpacks the message header, the question section, and the answer section, while ignores the authority section and the additional section. It's used to get the question and answer sections when a DNS response is carried by a TCP packet but is fragmented.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.