TTL controls caching duration for DNS records and limits packet propagation in networks, balancing performance with update speed.
DNS TTL
- Specifies how long resolvers should cache a DNS record (in seconds).
- Lower TTL = faster propagation of changes, more DNS queries.
- Higher TTL = better caching performance, slower change propagation.
- Typical values: 300 (5 min) to 86400 (24 hours).
Common TTL strategies
- Before changes: Lower TTL to 300 seconds 24-48 hours in advance.
- During migration: Keep TTL low until changes verify correctly.
- Steady state: Increase TTL for frequently queried, stable records.
- High availability: Lower TTL for records that may need quick failover.
TTL for different scenarios
# Low TTL (5 min) - frequent changes expected
example.com. 300 IN A 192.0.2.1
# Medium TTL (1 hour) - balanced approach
example.com. 3600 IN MX 10 mail.example.com.
# High TTL (24 hours) - stable records
example.com. 86400 IN NS ns1.example.com.
Network/IP TTL
- Limits how many router hops a packet can traverse.
- Decremented by 1 at each router; packet discarded at 0.
- Prevents routing loops from circulating packets indefinitely.
- Used by traceroute to map network paths.
Security implications
- Long DNS TTL delays propagation of security-related changes.
- Attackers may time attacks around TTL expiration for cache poisoning.
- IP TTL manipulation used in OS fingerprinting and evasion techniques.
Related Tools
Related Articles
View all articlesLocal LLM Benchmarks: 12 Findings From Consumer Hardware
NVIDIA publishes its inference wins on 8× DGX B300s. Almost nobody has those. So we ran the same ideas on a single consumer RTX 5060 Ti, a 2017 GTX 1080 Ti, and a CPU — and measured what actually happens. Here are all 12 experiments.
Read article →The VRAM Cliff: 15× Slower the Moment Layers Spill to CPU
We swept -ngl from 0 to 99 on a 14B model: 2.89 → 43 tok/s as it moves onto the GPU. Partial offload is a cliff, not a slope — and the last 8 layers matter most.
Read article →The Context-Length Tax: What Going 2K to 32K Actually Costs
Going from 2K to 32K context cost essentially 0 tok/s but +1.7 GB of VRAM. We swept Qwen2.5-Coder-7B across five context sizes — the tax is memory, not speed.
Read article →I Capped My GPU to 150W and Barely Lost Any Speed
We cut an RTX 5060 Ti's power limit by 17% and lost essentially zero tokens per second while gaining 16% efficiency. Local LLM decoding is memory-bandwidth-bound, not compute-bound — so watts are mostly wasted.
Read article →Explore More Networking
View all termsBGP (Border Gateway Protocol)
The routing protocol that exchanges network reachability information between autonomous systems, forming the backbone of Internet routing.
Read more →DNSSEC (DNS Security Extensions)
A suite of specifications that add cryptographic authentication to DNS responses, preventing DNS spoofing and cache poisoning attacks.
Read more →Domain Name System (DNS)
The hierarchical naming system that translates human-readable domain names into IP addresses.
Read more →IP Address Geolocation
The process of determining the geographic location of an internet-connected device using its IP address.
Read more →MAC Address
A unique hardware identifier assigned to network interfaces for local network communication.
Read more →MX Record
A DNS record type that specifies which mail servers are responsible for receiving email for a domain.
Read more →