https://github.com/redapesolutions/cloudflare-office365-setup
Command to quickly create DNS records for Office 365 email domains on cloudflare
https://github.com/redapesolutions/cloudflare-office365-setup
Last synced: about 1 month ago
JSON representation
Command to quickly create DNS records for Office 365 email domains on cloudflare
- Host: GitHub
- URL: https://github.com/redapesolutions/cloudflare-office365-setup
- Owner: redapesolutions
- Created: 2016-12-07T04:48:35.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-12-20T03:33:29.000Z (over 8 years ago)
- Last Synced: 2025-03-04T12:22:34.546Z (over 1 year ago)
- Language: JavaScript
- Size: 10.7 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Cloudflare Office 365 setup CLI
Very basic commands to verify and setup DNS records in Cloudflare to match an Office 365 email domain
## Installation
``` $ npm install ```
## Usage
```
$ export CF_USERNAME="yourcloudflare@email.com"
$ export CF_API_KEY="yourApiKey"
$ npm run -- [extra]
```
## Actions
For all actions, you can refer to [the Office 365 DNS records](./blob/master/office365/index.js)
### verify
``` $ npm run verify -- ```
The mscode is the value given during the "Verify" phase when adding a new domain on office365:

### setup
``` $ npm run setup -- ```
This will set up 2 SRV, 5 CNAME, 1 MX and 1 TXT entry
# Contribute
At the moment, this is used internally at [Red Ape Solutions](https://redapesolutions.com).
Therefore there are probably many cases we are not taking into consideration.
Feel free to [submit issues](https://github.com/redapesolutions/cloudflare-office365-setup/issues) or even better, [pull requests](https://github.com/redapesolutions/cloudflare-office365-setup/pulls)
When committing, please use `npm run commit`