another ttl clip
This commit is contained in:
parent
8a2e37fa88
commit
79a3cc9f92
@ -72,7 +72,7 @@ func dnsRemap(qname string, qtype uint16, orig *dns.Msg) ([]PowerDnsAnswer, erro
|
|||||||
r := DnsAnswer{
|
r := DnsAnswer{
|
||||||
Qname: qname,
|
Qname: qname,
|
||||||
Qtype: t,
|
Qtype: t,
|
||||||
Ttl: rr.Header().Ttl,
|
Ttl: dnsClipTtl(rr.Header().Ttl),
|
||||||
}
|
}
|
||||||
switch r.Qtype {
|
switch r.Qtype {
|
||||||
case dns.TypeA:
|
case dns.TypeA:
|
||||||
|
Loading…
Reference in New Issue
Block a user