keep any address records included in the response to an NS query
Fixes #1671
This commit is contained in:
parent
4743835056
commit
23b5dd9336
3
.gitignore
vendored
3
.gitignore
vendored
@ -23,4 +23,5 @@ rls/**
|
||||
|
||||
# ignore fuzzing corpus
|
||||
fuzz/artifacts/**
|
||||
fuzz/corpus/**
|
||||
fuzz/corpus/**
|
||||
*~
|
||||
|
@ -403,6 +403,8 @@ where
|
||||
{
|
||||
found_name = true;
|
||||
Some((r, ttl))
|
||||
} else if query.query_type().is_ns() && r.rr_type().is_ip_addr() {
|
||||
Some((r, ttl))
|
||||
} else {
|
||||
None
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user