Skip to content

hernangarcia/CloudFlare-CNAME-Flattener

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 

Repository files navigation

Need to use a CNAME at the root of your website at CloudFlare?
Is that causing email deliverability issues?

This should help.

------------------
--| High level |--
------------------

This resolves the CNAME record to the associated A record(s), makes an API call to CloudFlare, and creates the necessary A record(s). This way you can have an A record at the root even if your host only provides you with a CNAME, and your email deliverability issues should be fixed.

--------------------
--| Instructions |--
--------------------

1.) Fill out the values at the top of the script.
2.) Run the script the initial time and verify you now have A records in place of the CNAME you previously had. Confirm it's working correctly.
3.) Schedule a cron job to run this script as often as you feel comfortable with. The suggestion being every minute.

About

CF-CNAME-Flattener

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published