Your redirect is fine (when connected through IPv4 that is ;)):
osiris@desktop ~ $ telnet agestor.ru 80
Trying 2a03:6f00:4::bce1:224d...
telnet: connect to address 2a03:6f00:4::bce1:224d: No route to host
Trying 188.225.32.215...
Connected to agestor.ru.
Escape character is '^]'.
GET / HTTP/1.1
Host: www.agestor.ru
HTTP/1.1 301 Moved Permanently
Server: nginx/1.10.0 (Ubuntu)
Date: Sun, 22 Jan 2017 13:11:45 GMT
Content-Type: text/html
Content-Length: 194
Connection: keep-alive
Location: http://agestor.ru/
<html>
<head><title>301 Moved Permanently</title></head>
<body bgcolor="white">
<center><h1>301 Moved Permanently</h1></center>
<hr><center>nginx/1.10.0 (Ubuntu)</center>
</body>
</html>
^CConnection closed by foreign host.
osiris@desktop ~ $
See? Fine redirect to the host without the www. So that’s fine.
And also when connecting to agestor.ru
and requesting something from /.well-known/acme-challenge/
“works”. It gives a 404 file not found obviously, but there’s no “Connection error”.
So my guess is the Could not connect to domain.ru
you’re getting is related to the IPv6 record which is advertised in DNS.
By the way: if possible, I would opt to fix IPv6 connectivity and not delete the AAAA record, because the former (good IPv6 connectivity) is the future of the web and the latter is just an easy fix. But I can understand you choose the “easy fix” for now