How to select a backend from a vmod?

Aurélien footplus at
Sat Dec 15 10:53:01 CET 2012

On Thu, Dec 13, 2012 at 6:26 PM, J David <j.david.lists at> wrote:
> Unfortunately, we used to use a DNS-based approach with squid.  It's
> efficient enough on the proxy-cache side, but maintaining the zone files in
> BIND is problematic as the number of records involved becomes large and the
> frequency of updated becomes high.

If the functional side of the DNS approach was working, I may suggest
using PowerDNS, with a custom backend that dynamically computes the
response you need (

You might also try to write a VCL generator which would generate the
required backend switching code, but it might not be efficient if you
have really many backends.

Aurélien Guillaume

More information about the varnish-misc mailing list