Skip to content

Commit

Permalink
Merge branch 'release/0.4.0'
Browse files Browse the repository at this point in the history
  • Loading branch information
SkypLabs committed Feb 7, 2020
2 parents 88724c5 + 7be7fd8 commit 2fa8e92
Show file tree
Hide file tree
Showing 3 changed files with 53 additions and 29 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
## v0.4.0 - Feb 7, 2020

### Changes

* Reorganise the DNS records to improve the visibility
* Add a `TXT` record to get the domain verified by GitHub

## v0.3.0 - Feb 7, 2020

### Changes
Expand Down
75 changes: 46 additions & 29 deletions dns-records.tf
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ locals {
zone = "zerowastesgp.fr"

dns_records = [
# -------------------------------------------------- #
# DNS zone configuration
# -------------------------------------------------- #
{
name = ""
type = "NS"
Expand All @@ -11,14 +14,6 @@ locals {
"ns100.ovh.net.",
]
},
{
name = ""
type = "MX"
ttl = 0,
targets = [
"1 redirect.ovh.net.",
]
},
# See https://help.github.com/en/github/working-with-github-pages/managing-a-custom-domain-for-your-github-pages-site#configuring-an-apex-domain.
{
name = ""
Expand All @@ -31,12 +26,24 @@ locals {
"185.199.111.153",
]
},
# https://help.github.com/en/github/working-with-github-pages/managing-a-custom-domain-for-your-github-pages-site#configuring-a-subdomain.
{
name = "www"
type = "CNAME"
ttl = 0,
targets = [
"zerowastesgp.github.io.",
]
},
# -------------------------------------------------- #
# Email configuration
# -------------------------------------------------- #
{
name = ""
type = "SPF"
ttl = 600,
type = "MX"
ttl = 0,
targets = [
"\"v=spf1 include:mx.ovh.com ~all\"",
"1 redirect.ovh.net.",
]
},
{
Expand All @@ -56,51 +63,51 @@ locals {
]
},
{
name = "_autodiscover._tcp"
type = "SRV"
name = "mail"
type = "CNAME"
ttl = 0,
targets = [
"0 0 443 mailconfig.ovh.net.",
"ssl0.ovh.net.",
]
},
{
name = "imap"
name = "pop3"
type = "CNAME"
ttl = 0,
targets = [
"ssl0.ovh.net.",
]
},
{
name = "_imaps._tcp"
type = "SRV"
name = "imap"
type = "CNAME"
ttl = 0,
targets = [
"0 0 993 ssl0.ovh.net.",
"ssl0.ovh.net.",
]
},
{
name = "mail"
name = "smtp"
type = "CNAME"
ttl = 0,
targets = [
"ssl0.ovh.net.",
]
},
{
name = "pop3"
type = "CNAME"
name = "_autodiscover._tcp"
type = "SRV"
ttl = 0,
targets = [
"ssl0.ovh.net.",
"0 0 443 mailconfig.ovh.net.",
]
},
{
name = "smtp"
type = "CNAME"
name = "_imaps._tcp"
type = "SRV"
ttl = 0,
targets = [
"ssl0.ovh.net.",
"0 0 993 ssl0.ovh.net.",
]
},
{
Expand All @@ -111,13 +118,23 @@ locals {
"0 0 465 ssl0.ovh.net.",
]
},
# https://help.github.com/en/github/working-with-github-pages/managing-a-custom-domain-for-your-github-pages-site#configuring-a-subdomain.
{
name = "www"
type = "CNAME"
name = ""
type = "SPF"
ttl = 600,
targets = [
"\"v=spf1 include:mx.ovh.com ~all\"",
]
},
# -------------------------------------------------- #
# Domain verification
# -------------------------------------------------- #
{
name = "_github-challenge-zerowastesgp"
type = "TXT"
ttl = 0,
targets = [
"zerowastesgp.github.io.",
"\"c50ef36f27\"",
]
},
]
Expand Down
Empty file removed examples/.gitkeep
Empty file.

0 comments on commit 2fa8e92

Please sign in to comment.