MCPcopy Create free account
hub / github.com/avicoder/spoodle / replyZone

Method replyZone

dnslib/dns.py:178–195  ·  view source on GitHub ↗

Create reply with response data in zone-file format >>> q = DNSRecord.question("abc.com") >>> a = q.replyZone("abc.com 60 A 1.2.3.4") >>> print(a) ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: ... ;; flags: qr aa rd ra; Q

(self,zone,ra=1,aa=1)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 3

DNSRecordClass · 0.85
DNSHeaderClass · 0.85
fromZoneMethod · 0.45

Tested by

no test coverage detected