diff --git a/src/resolvers.c b/src/resolvers.c index 73968917c..ac6b23dd4 100644 --- a/src/resolvers.c +++ b/src/resolvers.c @@ -2528,6 +2528,13 @@ static int resolvers_finalize_config(void) for (px = proxies_list; px; px = px->next) { struct server *srv; + if (px->flags & PR_FL_DISABLED) { + /* must not run and will not work anyway since + * nothing in the proxy is initialized. + */ + continue; + } + for (srv = px->srv; srv; srv = srv->next) { struct resolvers *resolvers;