another ttl clip

This commit is contained in:
Konstantin Demin 2024-06-30 12:15:16 +03:00
parent 8a2e37fa88
commit 79a3cc9f92
Signed by: krd
GPG Key ID: 4D56F87A8BA65FD0

View File

@ -72,7 +72,7 @@ func dnsRemap(qname string, qtype uint16, orig *dns.Msg) ([]PowerDnsAnswer, erro
r := DnsAnswer{
Qname: qname,
Qtype: t,
Ttl: rr.Header().Ttl,
Ttl: dnsClipTtl(rr.Header().Ttl),
}
switch r.Qtype {
case dns.TypeA: