backend default none;
sub vcl_init {
new r = dynamic.resolver();
new d = dynamic.director(
resolver = r.use(),
);
}
sub vcl_recv {
set req.backend_hint = d.service("service.namespace.local");
# more config to come
}
When ever I try to perform a request, the resolution via getdns seems to fail:
0 Timestamp - vmod-dynamic boot.d(srv service.namespace.local) Lookup: 1724930480.177774 0.000000 0.000000
0 Timestamp - vmod-dynamic boot.d(srv service.namespace.local) Results: 1724930480.177919 0.000145 0.000145
0 Error - vmod-dynamic boot d service.namespace.local getdns 901 (Queries for the name yielded all negative responses)
Do I miss something? Sorry if it's a obvious problem, not as experienced in varnish config.
Hello,
i'm currently tring to get varnish running with dynamic backend servers provied via SRV DNS Records.
Resolving the domains via
host
is no problem, the following data is returned:This is my varnish config:
When ever I try to perform a request, the resolution via getdns seems to fail:
Do I miss something? Sorry if it's a obvious problem, not as experienced in varnish config.
Thanks in advance!