From fc678d8820ee8aa05814a0bb0f74f2ceb53b98a1 Mon Sep 17 00:00:00 2001 From: Jeffrey Cafferata Date: Mon, 31 Oct 2022 11:50:41 +0100 Subject: [PATCH] DOC: Split the Google Workspace example (#1796) --- docs/examples.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/docs/examples.md b/docs/examples.md index b087e3e39..00814c31a 100644 --- a/docs/examples.md +++ b/docs/examples.md @@ -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') ) ```