Commit d8f2401e authored by Kristian Lyngstøl's avatar Kristian Lyngstøl

More VCL tests for the DNS director


git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@5175 d4fa192b-c00b-0410-8231-f00ffab90ce4
parent 77a7a072
# $Id: v00028.vtc 5125 2010-08-25 08:57:04Z phk $
test "DNS director bad VCL tests"
varnish v1 -badvcl {
director directorname dns {
.list = {
192.168.15.0/24;
}
}
}
varnish v1 -badvcl {
director directorname dns {
.list = {
.host_header = "www.example.com";
.port = "80";
.connect_timeout = 0.4s;
}
}
}
varnish v1 -badvcl {
director directorname dns {
.list = {
.host_hdr = "www.example.com";
"192.168.16.128"/25;
}
}
}
varnish v1 -badvcl {
director directorname dns {
.list = {
.port = 80;
"192.168.15.0"/24;
}
}
}
varnish v1 -badvcl {
director directorname dns {
.list = {
"192.168.15.0"/33;
}
}
}
varnish v1 -badvcl {
director directorname dns {
.list = {
"192.168.16.255"/24;
}
}
}
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