Is this a discourse or dns issue

So it’s not UFW! try contacting your customer support if they have some other network based firewall in place.
Ps: is your IP 64.190.xxx.xxx ??

Don’t complicate things by adding another variable, let it be disabled unless it is at least online.