How to select a backend from a vmod?

Per Buer perbu at
Mon Dec 10 10:50:47 CET 2012

Hi David,

On Mon, Dec 10, 2012 at 2:47 AM, J David <j.david.lists at> wrote:

> I wrote a rudimentary "magic" vmod from which returns a
> string, but that's unacceptable because VCL wants a backend object
> there, not a string.  And even this approach requires all the backends
> to be predefined, which seems like a hassle as we add more to handle
> growth.
> Is there an efficient way to approach this?

Currently I think the most efficient approach would be the DNS director.

 <> *Per Buer*
CEO | Varnish Software AS
Phone: +47 958 39 117 | Skype: per.buer
We Make Websites Fly!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the varnish-misc mailing list