Commit a2eacd4d authored by semihalev's avatar semihalev
Browse files

release version 1.1.7

parent 46b2e0f9
......@@ -747,6 +747,10 @@ func (r *Resolver) setTags(req, resp *dns.Msg) *dns.Msg {
}
func (r *Resolver) checkDname(ctx context.Context, resp *dns.Msg) (*dns.Msg, bool) {
if len(resp.Question) == 0 {
return nil, false
}
q := resp.Question[0]
if q.Qtype == dns.TypeCNAME {
......
......@@ -16,7 +16,7 @@ import (
"github.com/semihalev/sdns/server"
)
const version = "1.1.6"
const version = "1.1.7"
var (
flagcfgpath = flag.String("config", "sdns.conf", "location of the config file, if config file not found, a config will generate")
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment