Skip to content

Commit

Permalink
fix truth
Browse files Browse the repository at this point in the history
  • Loading branch information
srijeet0406 committed Jul 11, 2023
1 parent 82e78fc commit c2e9624
Showing 1 changed file with 0 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -369,14 +369,6 @@ private void lookup(final Name qname, final int qtype, final InetAddress clientA
return;
}

if (clientAddress != null && clientAddress.getHostName().equals("_")) {
response.getHeader().setRcode(Rcode.NXDOMAIN);
response.getHeader().setFlag(Flags.AA);
addDenialOfExistence(qname, zone, response, flags);
addSOA(zone, response, Section.AUTHORITY, flags);
return;
}

final SetResponse sr = zone.findRecords(qname, qtype);

if (sr.isSuccessful()) {
Expand Down

0 comments on commit c2e9624

Please sign in to comment.