mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2024-11-10 09:12:47 +08:00
DOC: Split the Google Workspace example (#1796)
This commit is contained in:
parent
c6011fe3f8
commit
fc678d8820
1 changed files with 6 additions and 2 deletions
|
@ -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')
|
||||
)
|
||||
```
|
||||
|
|
Loading…
Reference in a new issue