check / check (push) Successful in 1m58s
`internal/ptr` asks Google, Cloudflare, AdGuard and Quad9 in turn, 2 seconds in all per address. It keeps answers in memory and writes them through to `cache.db`, opened by the new `internal/cachedb`. A reserved address is not sent to the resolvers. The cache holds at most 250,000 addresses. Judgement calls: - Each resolver gets an equal share of the time left, so a hung resolver does not use up the 2 seconds. - The negative TTL is the smaller of the SOA minimum and the SOA's own TTL (RFC 2308). - Names that are not host names are dropped, as `net.Resolver.LookupAddr` does. Model: opus-5-5
86 lines
1.9 KiB
Plaintext
86 lines
1.9 KiB
Plaintext
# OS
|
|
.DS_Store
|
|
Thumbs.db
|
|
|
|
# Editors
|
|
*.swp
|
|
*.swo
|
|
*~
|
|
*.bak
|
|
.idea/
|
|
.vscode/
|
|
*.sublime-*
|
|
|
|
# Agent scratch (worktrees of this repo, created and destroyed by
|
|
# in-flight tooling). Unanchored: .gitignore patterns already match at
|
|
# every depth, so no prefix is wanted here. This is not a .dockerignore
|
|
# entry and must not be given a `**/` prefix on the way into one.
|
|
.claude/
|
|
|
|
# Node
|
|
node_modules/
|
|
|
|
# Secrets. Unanchored like every entry above, so each matches at every
|
|
# depth. Matching is case-sensitive on Linux, so names use character
|
|
# ranges rather than a lowercase form that misses `Server.Key`.
|
|
|
|
# Environment files. `*.env` covers bare `.env` and the `prod.env`
|
|
# convention. Only the templates `example.env` and `sample.env` are
|
|
# re-included below. A repository that commits any other template adds
|
|
# its own negation at the end of this file, for example `!.env.example`.
|
|
*.[eE][nN][vV]
|
|
.[eE][nN][vV].*
|
|
.[eE][nN][vV][rR][cC]
|
|
!example.env
|
|
!sample.env
|
|
|
|
# Private keys and the bundles carrying them.
|
|
*.[pP][eE][mM]
|
|
*.[kK][eE][yY]
|
|
*.[pP]12
|
|
*.[pP][fF][xX]
|
|
[iI][dD]_[rR][sS][aA]
|
|
[iI][dD]_[dD][sS][aA]
|
|
[iI][dD]_[eE][cC][dD][sS][aA]
|
|
[iI][dD]_[eE][cC][dD][sS][aA]_[sS][kK]
|
|
[iI][dD]_[eE][dD]25519
|
|
[iI][dD]_[eE][dD]25519_[sS][kK]
|
|
|
|
# This repository's own entries, such as its build outputs, go below
|
|
# this comment, and a re-vendor keeps them. Anchor a binary built at the
|
|
# root: `/myapp`, never `myapp`, which also ignores `cmd/myapp/`.
|
|
|
|
# Go: logs, test binaries, coverage profiles, and the binaries `make build`
|
|
# and `go build` in the repository root write.
|
|
*.log
|
|
*.out
|
|
*.test
|
|
*.exe
|
|
*.exe~
|
|
*.dll
|
|
*.so
|
|
*.dylib
|
|
/bin/
|
|
/routewatch
|
|
/asinfo-gen
|
|
/streamdumper
|
|
go.work
|
|
go.work.sum
|
|
|
|
# Local databases, temporary files and debug output. The daemon's
|
|
# databases are db.sqlite and cache.db, with their -wal and -shm files
|
|
# while it runs.
|
|
*.db
|
|
*.db-journal
|
|
*.db-wal
|
|
*.db-shm
|
|
*.sqlite
|
|
*.sqlite-wal
|
|
*.sqlite-shm
|
|
*.tmp
|
|
log.txt
|
|
out
|
|
|
|
# Raw AS data (only the gzipped version is committed).
|
|
pkg/asinfo/asdata.json
|