DNS record issue, CNAME and A record updated, error 521

I have updated my public IP address of EC2 instance in A record and also updated my cname record as well. I am getting error 521. any help would be appreciated.