Commit 53a842bc authored by Kristian Lyngstol's avatar Kristian Lyngstol

Add test-case for #971

parent 627964a3
varnishtest "Test DNS director order"
varnish v1 -vcl+backend {
backend test {
.host = "192.168.0.1";
}
director foo dns {
{ .backend = { .host = "127.0.0.1";} }
}
sub vcl_recv {
set req.backend = foo;
if (req.http.x-aa) {
set req.backend = test;
}
}
} -start
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment