Pull request: dnsforward: fix fqdn in some dns rewrites
Updates #2498. Updates #2533. Squashed commit of the following: commit 9eec20ac3bee5a914f61f41a789f87dec63e910d Author: Ainar Garipov <A.Garipov@AdGuard.COM> Date: Mon Mar 15 16:53:29 2021 +0300 dnsforward: fix fqdn in some dns rewrites
This commit is contained in:
@@ -137,7 +137,7 @@ func (s *Server) genAnswerSVCB(req *dns.Msg, svcb *rules.DNSSVCB) (ans *dns.SVCB
|
||||
ans = &dns.SVCB{
|
||||
Hdr: s.hdr(req, dns.TypeSVCB),
|
||||
Priority: svcb.Priority,
|
||||
Target: svcb.Target,
|
||||
Target: dns.Fqdn(svcb.Target),
|
||||
}
|
||||
if len(svcb.Params) == 0 {
|
||||
return ans
|
||||
|
||||
Reference in New Issue
Block a user