Skip to content

Commit

Permalink
Small DNS fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
Revertron committed Nov 18, 2024
1 parent 4945f18 commit 3f36f4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/blockchain/filter.rs
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ impl DnsFilter for BlockchainFilter {
if answers.is_empty() && cname.is_some() {
answers.push(cname.unwrap());
}
let mut domain_exists = !answers.is_empty();
let mut domain_exists = !answers.is_empty() || subdomain.is_empty();
if answers.is_empty() {
// If there are no records found we search for *.domain.tld record
for mut record in data.records {
Expand Down

0 comments on commit 3f36f4e

Please sign in to comment.