mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2024-05-11 05:55:12 +00:00
DOC: Split the Google Workspace example (#1796)
This commit is contained in:
committed by
GitHub
parent
c6011fe3f8
commit
fc678d8820
@ -76,12 +76,15 @@ D('example.com', REG, DnsProvider('R53'),
|
||||
## Macro to for repeated records
|
||||
|
||||
```js
|
||||
var GOOGLE_APPS_RECORDS = [
|
||||
var GOOGLE_APPS_MX_RECORDS = [
|
||||
MX('@', 1, 'aspmx.l.google.com.'),
|
||||
MX('@', 5, 'alt1.aspmx.l.google.com.'),
|
||||
MX('@', 5, 'alt2.aspmx.l.google.com.'),
|
||||
MX('@', 10, 'alt3.aspmx.l.google.com.'),
|
||||
MX('@', 10, 'alt4.aspmx.l.google.com.'),
|
||||
]
|
||||
|
||||
var GOOGLE_APPS_CNAME_RECORDS = [
|
||||
CNAME('calendar', 'ghs.googlehosted.com.'),
|
||||
CNAME('drive', 'ghs.googlehosted.com.'),
|
||||
CNAME('mail', 'ghs.googlehosted.com.'),
|
||||
@ -91,7 +94,8 @@ var GOOGLE_APPS_RECORDS = [
|
||||
]
|
||||
|
||||
D('example.com', REG, DnsProvider('R53'),
|
||||
GOOGLE_APPS_RECORDS,
|
||||
GOOGLE_APPS_MX_RECORDS,
|
||||
GOOGLE_APPS_CNAME_RECORDS,
|
||||
A('@', '1.2.3.4')
|
||||
)
|
||||
```
|
||||
|
Reference in New Issue
Block a user