Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/configure_cache_size'
Browse files Browse the repository at this point in the history
  • Loading branch information
marcus0x62 committed Jul 13, 2024
2 parents 75d0c97 + 1c3136a commit fae6a63
Showing 1 changed file with 1 addition and 13 deletions.
14 changes: 1 addition & 13 deletions crates/recursor/src/recursor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -308,19 +308,7 @@ impl Recursor {
.take_answers()
.into_iter()
.chain(r.take_name_servers())
.chain(r.take_additionals())
.filter(|x| {
if !is_subzone(ns.zone().clone(), x.name().clone()) {
warn!(
"Dropping out of bailiwick record {x} for zone {}",
ns.zone().clone()
);
false
} else {
true
}
});

.chain(r.take_additionals());
let lookup = self.record_cache.insert_records(query, records, now);

lookup.ok_or_else(|| Error::from("no records found"))
Expand Down

0 comments on commit fae6a63

Please sign in to comment.