aboutsummaryrefslogtreecommitdiff
path: root/src/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/main.rs b/src/main.rs
index 5c7de6f..1439a7b 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -382,11 +382,7 @@ fn handle_query(
forward_hosts.clone(),
reverse_hosts.clone(),
) {
- let name = entry.0
- + &domain
- .as_ref()
- .map(|domain| domain.to_utf8())
- .unwrap_or_default();
+ let name = entry.0;
let answer = RR::PTR(PTR {
domain_name: q.domain_name,