I fixed it by deleting the (AAAA) ip6 record. It explains why it stopped working through data plans and hotspots (which use ip6) but it doesn't explain why it was working for three months than stopped abruptly. It may just be a digital ocean issue integrating ip6.
Thank you all for your help.