varnish backend dns ttl

Guillaume Quintard guillaume at varnish-software.com
Mon May 9 17:21:57 CEST 2016


Hello there,

DNS resolution is done once and for all at VCL load, so you can just reload
instead of restart. IIUC, varnish will fail loading the VCL if more than
one IP is found though.

I would advise you to look ad vmod-named (
https://github.com/Dridi/libvmod-named) and vmod-gwist (
https://github.com/gquintard/libvmod-gwist) that could do what you need.

-- 
Guillaume Quintard

On Mon, May 9, 2016 at 4:51 PM, L Cruzero <lcruzero at gmail.com> wrote:

> In varnish 4.1 will initial DNS resolution during varnishD daemon start up
> adhere to a defined backend A record dns ttl, or does one in case of an IP
> change to that A record would still need to restart daemon to get the new
> IP of the defined backend A record ?
>
>
>
>
> -LC
>
>
> _______________________________________________
> varnish-misc mailing list
> varnish-misc at varnish-cache.org
> https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20160509/af8ba602/attachment.html>


More information about the varnish-misc mailing list