MCPcopy Create free account
hub / github.com/rthalley/dnspython / response

Method response

dns/resolver.py:134–139  ·  view source on GitHub ↗

The response for query *qname*. Returns a ``dns.message.Message``.

(self, qname)

Source from the content-addressed store, hash-verified

132 return self.kwargs["responses"]
133
134 def response(self, qname):
135 """The response for query *qname*.
136
137 Returns a ``dns.message.Message``.
138 """
139 return self.kwargs["responses"][qname]
140
141
142class YXDOMAIN(dns.exception.DNSException):

Calls

no outgoing calls