diff --git a/providers/dns/technitium/internal/client.go b/providers/dns/technitium/internal/client.go index 312892e5ac..a68008d34d 100644 --- a/providers/dns/technitium/internal/client.go +++ b/providers/dns/technitium/internal/client.go @@ -103,7 +103,7 @@ func (c *Client) do(req *http.Request, result any) error { defer func() { _ = resp.Body.Close() }() - if resp.StatusCode > http.StatusBadRequest { + if resp.StatusCode >= http.StatusBadRequest { return parseError(req, resp) }