summaryrefslogtreecommitdiff
path: root/dns/resolver.py
diff options
context:
space:
mode:
Diffstat (limited to 'dns/resolver.py')
-rw-r--r--dns/resolver.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/dns/resolver.py b/dns/resolver.py
index d04386f..7bdfd91 100644
--- a/dns/resolver.py
+++ b/dns/resolver.py
@@ -212,9 +212,9 @@ class Answer:
self.port = port
self.chaining_result = response.resolve_chaining()
# Copy some attributes out of chaining_result for backwards
- # compatibilty and convenience.
+ # compatibility and convenience.
self.canonical_name = self.chaining_result.canonical_name
- self.rrset = self.chaining_result.rrset
+ self.rrset = self.chaining_result.answer
self.expiration = time.time() + self.chaining_result.minimum_ttl
def __getattr__(self, attr): # pragma: no cover