Force TTL on a Caching Name Server

smallpond smallpond at juno.com
Wed Sep 6 19:39:30 UTC 2006


howting at gmail.com wrote:
> Hi everyone,
>
> I am not sure if this can be done, but I would like to set up a caching
> name server that only caches results for a maximum of 5 minutes. That
> is, I would like to override the result's TTL, refresh, retry etc to
> only 5 minutes. Effectively, the nameserver must do a fresh lookup
> every 5 minutes.
>
> Is this achievable in bind? If so, what configuration should I use?
>
> Thank you.

To DOS the upstream nameserver, you will need to change where the
TTL value is set in the source code and recompile.  But if you don't
trust the TTL, why would you trust the other parts of the data?

-- S



More information about the bind-users mailing list