how to flush director dns ttl
Per Buer
perbu at varnish-software.com
Wed May 8 11:06:40 CEST 2013
Hi Gao,
On Wed, May 8, 2013 at 10:58 AM, Gao Yongwei <itxx00 at gmail.com> wrote:
>
>
> The whole point of the DNS director and it's TTL settings is to have
>> Varnish automatically update the backend definitions based on TTL. So the
>> only option you have is AFAIK:
>> 1) To lower the TTL so it won't become a problem (speed up your DNS)
>> 2) To modify the DNS director and implement flushing through VCL
>>
>
> Thanks,perbu ,I can achieve the first method , and could you please
> teach me more about the second method , how does this vcl look like ?
> many thanks , :-)
>
You would need to create a VMOD that kills off the cache in the DNS
director. For this to work you would probably need to modify the DNS
director in the Varnish Cache source.
--
<http://www.varnish-software.com/> *Per Buer*
CEO | Varnish Software AS
Phone: +47 958 39 117 | Skype: per.buer
We Make Websites Fly!
Winner of the Red Herring Top 100 Europe Award 2013
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20130508/ec771dfe/attachment-0001.html>
More information about the varnish-misc
mailing list