Domain's DNS record could not be retrieved

If I save my custom domain in github, the above notification comes again and again.
I have added 4 ip addresses of github to A records of my domain and I have added my github page url to CNAME. Yet why do I get this notification !! If anyone knows the solution to this problem, please help me with information.