Skip to content

gbe0/dnscontrol-office365

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DNSControl: Office 365 Record Generator

This repository contains an example DNSControl configuration file with functions to automatically generate DNS records for Office 365.

For more information and examples, please see the blog post here.

Please feel free to modify to modify the functions as needed for your situation and make it your own.

Basic Usage

  1. In creds.json, define a list of your credentials used to access your registrar (if required) and DNS provider. For the list of supported credential options and providers see the official documentation here.
  2. In dnsconfig.js, define set the registrar and DNS provider names. They need to match the credentials required.
  3. In vars/Office365.js, set your Office 365 tenant name. Usually you can get this from the "onmicrosoft.com" hostname (eg. if your "onmicrosoft.com" hostname is "example.onmicrosoft.com", your tenant name will be "example").
  4. Optionally, in vars/SPF.js, define third party SPF record information.
  5. Create the list of DNS zones in domains/. Example templates have been included. If you have existing DNS records not yet defined in DNSControl, can optionally dump them from the provider first.
  6. Run DNSControl in preview mode to see what changes will be made: dnscontrol preview
  7. Push the changes: dnscontrol push

About

DNSControl Office365 example repository

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published