diff --git a/dns/nameserver.py b/dns/nameserver.py index 030057b6..5dbb4e8b 100644 --- a/dns/nameserver.py +++ b/dns/nameserver.py @@ -116,6 +116,7 @@ def query( one_rr_per_rrset=one_rr_per_rrset, ignore_trailing=ignore_trailing, ignore_errors=True, + ignore_unexpected=True, ) return response @@ -155,6 +156,7 @@ async def async_query( one_rr_per_rrset=one_rr_per_rrset, ignore_trailing=ignore_trailing, ignore_errors=True, + ignore_unexpected=True, ) return response