From 79a3cc9f92d2e8f39520893b6f00c25334d6b1ae Mon Sep 17 00:00:00 2001 From: Konstantin Demin Date: Sun, 30 Jun 2024 12:15:16 +0300 Subject: [PATCH] another ttl clip --- dns-remap.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dns-remap.go b/dns-remap.go index 7cd20b8..669e956 100644 --- a/dns-remap.go +++ b/dns-remap.go @@ -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: