Python API¶
Pcap¶
Packet¶
Ethernet¶
IPv4¶
IPv6¶
DNS¶
-
class
DNS¶ -
qr¶ 0(Query) or1(Response).
-
question_count¶ Number of question entries.
-
answer_count¶ Number of answer entries.
Number of entries in authoritative NS section.
-
additional_count¶ Number of additional resource records.
-
answers¶ Answer RRs. List of strings formatted as:
['google.com A 172.217.23.206', ...]
Authoritative NS RRs. List of strings formatted as:
['google.com NS ns4.google.com', ...]
-
additionals¶ Additional RRs. List of strings formatted as:
['google.com A 172.217.23.206', ...]
-