Why is the server response time slowing my site down? [closed]

This clearly isn’t a DNS problem since “wait time” is counted after domain was resolved and connection to server has been established.

What you can start with on WordPress level is getting a plugin which will show you is this time is actually spent inside WP page load.

Laps (disclosure — developed by me) or Query Monitor are what I look at first for issues like this.

error code: 523