Skip to content

Commit 5604d3d

Browse files
committed
chore: adjust A/AAAA/NS/CAA TTL to 24h
1 parent c5de0e5 commit 5604d3d

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

ipparser/plugin.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ type ipParser struct {
4545
ForgeDomain string
4646
}
4747

48-
const ttl = 1 * time.Hour
48+
const ttl = 24 * time.Hour
4949

5050
// ServeDNS implements the plugin.Handler interface.
5151
func (p ipParser) ServeDNS(ctx context.Context, w dns.ResponseWriter, r *dns.Msg) (int, error) {

zones/libp2p.direct

+3-3
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,11 @@ ns2.libp2p.direct. 86400 IN A 15.204.28.76
2323
;ns2.p2p-forge.dwebops.net. 86400 IN AAAA 2604:2dc0:202:200::64e
2424

2525
;; TLS Provider
26-
libp2p.direct. IN CAA 0 issue "letsencrypt.org"
26+
libp2p.direct. 86400 IN CAA 0 issue "letsencrypt.org"
2727

2828
;; HTTP Service
29-
registration.libp2p.direct. 60 IN NS hera.ns.cloudflare.com.
30-
registration.libp2p.direct. 60 IN NS lloyd.ns.cloudflare.com.
29+
registration.libp2p.direct. 86400 IN NS hera.ns.cloudflare.com.
30+
registration.libp2p.direct. 86400 IN NS lloyd.ns.cloudflare.com.
3131

3232
;; PSL Records
3333
_psl.libp2p.direct. 86400 IN TXT "https://github.com/publicsuffix/list/pull/2084"

0 commit comments

Comments
 (0)