Skip to content

Latest commit

 

History

History
30 lines (22 loc) · 535 Bytes

dns.md

File metadata and controls

30 lines (22 loc) · 535 Bytes

DNS

This documentation provides details about the data that can be faked for DNS information.

To retrieve generated/fake data for about DNS see the following capabilities:

from socfaker import SocFaker

sc = SocFaker()

print(sc.dns.record)
print(sc.dns.header_flags)
print(sc.dns.id)
print(sc.dns.response_code)
print(sc.dns.op_code)
print(sc.dns.answers)
print(sc.dns.question)
print(sc.dns.direction)
print(sc.dns.name)

DNS Class

.. automodule:: socfaker.dns
   :members:
   :undoc-members: