Skip to content

Commit

Permalink
#139 fixing ping slowness (#140)
Browse files Browse the repository at this point in the history
  • Loading branch information
mageddo authored Jun 6, 2019
1 parent 3072952 commit 7723d2a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
3 changes: 3 additions & 0 deletions RELEASE-NOTES.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
### 2.14.6
* Fixing ping slowness

### 2.14.5
* Fixing docker hub push

Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.14.5
2.14.6
4 changes: 1 addition & 3 deletions dns.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,12 +50,10 @@ func handleQuestion(respWriter dns.ResponseWriter, reqMsg *dns.Msg) {
solverFactory := proxy.NewCnameDnsSolverFactory(&proxy.DefaultDnsSolverFactory{})
msg, err := solverFactory.Solve(ctx, firstQuestion, getSolvers())
logging.Debugf("status=complete, question=%+v, answers=%+v, err=%+v", ctx, firstQuestion, getAnswer(msg), err)
if err == nil {
if msg != nil {
msg.SetReply(reqMsg)
msg.Compress = conf.Compress()
respWriter.WriteMsg(msg)
} else {
respWriter.Close()
}
}

Expand Down

0 comments on commit 7723d2a

Please sign in to comment.