In Nginx what is the resolver directive mechanically doing to avoid errors and warnings?

You asked for ssl_stapling, which requires contacting the OCSP responder listed in your TLS certificate. A resolver is needed to get the IP address from its name.