Skip to content

Commit

Permalink
Revert changes made to RCODEs
Browse files Browse the repository at this point in the history
  • Loading branch information
shadrick committed Nov 15, 2017
1 parent c06b7de commit ced42e1
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/tenta-dns/responder/recursive_dns.go
Original file line number Diff line number Diff line change
Expand Up @@ -1773,9 +1773,7 @@ func handleDNSMessage(loggy *logrus.Entry, provider, network string, rt *runtime
response.SetRcode(r, dns.RcodeServerFailure)
} else {
elogger.Queuef("[%s -- %d] unresolvable.", qp.vanilla, qp.record)
if err.errorCode == errorUnresolvable {
response.SetRcode(r, dns.RcodeNameError)
}
response.SetRcode(r, dns.RcodeNameError)
}
elogger.Flush(l)
} else {
Expand Down

0 comments on commit ced42e1

Please sign in to comment.