mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2024-05-11 05:55:12 +00:00
1.9 KiB
1.9 KiB
name, parameters, parameters_object, parameter_types
| name | parameters | parameters_object | parameter_types | ||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| M365_BUILDER |
|
true |
|
DNSControl offers a M365_BUILDER which can be used to simply set up Microsoft 365 for a domain in an opinionated way.
It defaults to a setup without support for legacy Skype for Business applications.
It doesn't set up SPF or DMARC. See SPF_BUILDER and DMARC_BUILDER.
Example
Simple example
{% code title="dnsconfig.js" %}
M365_BUILDER({
initialDomain: "example.onmicrosoft.com",
});
{% endcode %}
This sets up MX records, Autodiscover, and DKIM.
Advanced example
{% code title="dnsconfig.js" %}
M365_BUILDER({
label: "test",
mx: false,
autodiscover: false,
dkim: false,
mdm: true,
domainGUID: "test-example-com", // Can be automatically derived in this case, if example.com is the context.
initialDomain: "example.onmicrosoft.com",
});
{% endcode %}
This sets up Mobile Device Management only.
Parameters
labelThe label of the Microsoft 365 domain, useful if it is a subdomain (default:"@")mxSet anMXrecord? (default:true)autodiscoverSet AutodiscoverCNAMErecord? (default:true)dkimSet DKIMCNAMErecords? (default:true)skypeForBusinessSet Skype for Business/Microsoft Teams records? (default:false)mdmSet Mobile Device Management records? (default:false)domainGUIDThe GUID of this Microsoft 365 domain (default:<label>.<context>with.replaced by-, no default if domain contains dashes)initialDomainThe initial domain of your Microsoft 365 tenant/account, ends inonmicrosoft.com