FG

linux dnsmasq: how do I increase the ttl?

Fresh3 days ago
Mar 15, 20263546 views
Confidence Score0%
0%

Problem

Is it possible to dictate the TTL of resolved entries? In other words, is it possible to override the received TTL for resolved entries and make those higher? Reason: I find that dnsmasq tries to resolve www.google.com too often for my taste.

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: linux dnsmasq: how do I increase the ttl?

Low Risk

I don't think you can, not easily. The TTL is set by Google's nameservers and they like it low for loadbalancing purposes. It's possible that increasing the cache size could help, but for super-short TTLs like Google's it probably won't. Unofficiall…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment