mirror of
https://github.com/AdguardTeam/AdGuardHome.git
synced 2024-11-26 15:05:50 +03:00
Merge: - rewrites: AAAA rewrites didn't work
Close #989 * commit 'f4c29715b553b00561c7c7d68005350a5be1bf5a': - rewrites: AAAA rewrites didn't work
This commit is contained in:
commit
ff0b4fa3b5
1 changed files with 1 additions and 1 deletions
|
@ -575,7 +575,7 @@ func (s *Server) filterDNSRequest(d *proxy.DNSContext) (*dnsfilter.Result, error
|
|||
resp.Answer = append(resp.Answer, a)
|
||||
|
||||
} else if req.Question[0].Qtype == dns.TypeAAAA {
|
||||
a := s.genAAAAAnswer(req, res.IP)
|
||||
a := s.genAAAAAnswer(req, ip)
|
||||
a.Hdr.Name = dns.Fqdn(name)
|
||||
resp.Answer = append(resp.Answer, a)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue