Skip to content

Commit

Permalink
Emulate current DNS configuration
Browse files Browse the repository at this point in the history
Note: The emulation is not perfect. Specifically, the current configuration uses TXT records with different TTLs, which is both unsupported and not recommended. See octodns/octodns#406. The exact DNS updates are pasted below for future reference.

INFO  Plan
********************************************************************************
* tjuav.org.
********************************************************************************
* cloudflare (CloudflareProvider)
*   Update
*     <TxtRecord TXT 3600, tjuav.org., ['google-site-verification=kDVIO-3JicgMGQ1CrZz3C8usMiZNyZnL1OyUmtMJrCE', 'v=spf1 include:_spf.mx.cloudflare.net include:_spf.google.com ~all']> ->
*     <TxtRecord TXT 3600, tjuav.org., ['google-site-verification=kDVIO-3JicgMGQ1CrZz3C8usMiZNyZnL1OyUmtMJrCE', 'v=spf1 include:_spf.mx.cloudflare.net include:_spf.google.com ~all'], {'cloudflare': {'auto-ttl': True}}> (config)
*   Summary: Creates=0, Updates=1, Deletes=0, Existing Records=7
********************************************************************************
  • Loading branch information
krishnans2006 committed Apr 14, 2024
1 parent a0a4be0 commit d6fe769
Showing 1 changed file with 70 additions and 1 deletion.
71 changes: 70 additions & 1 deletion tjuav.org.yaml
Original file line number Diff line number Diff line change
@@ -1 +1,70 @@
---
'':
# GitHub Pages Configuration
- type: A
values:
- 185.199.108.153
- 185.199.109.153
- 185.199.110.153
- 185.199.111.153
octodns:
cloudflare:
proxied: true
auto-ttl: true

# Cloudflare Mail Configuration
- type: MX
values:
- exchange: route3.mx.cloudflare.net.
preference: 20
- exchange: route2.mx.cloudflare.net.
preference: 82
- exchange: route1.mx.cloudflare.net.
preference: 92
octodns:
cloudflare:
auto-ttl: true

- type: TXT
values:
# Mail SPF Configuration
- 'v=spf1 include:_spf.mx.cloudflare.net include:_spf.google.com ~all'
# Google Search Console Verification
- 'google-site-verification=kDVIO-3JicgMGQ1CrZz3C8usMiZNyZnL1OyUmtMJrCE'
octodns:
cloudflare:
auto-ttl: true

# Mail DMARC Policy
_dmarc:
- type: TXT
values:
- 'v=DMARC1\; p=none\; rua=mailto:[email protected]'
octodns:
cloudflare:
auto-ttl: true

# GitHub Verification
_github-challenge-tj-uav-org:
- type: TXT
values:
- d0570330b0
octodns:
cloudflare:
auto-ttl: true

# Subdomains
www:
- type: CNAME
value: tj-uav.github.io.
octodns:
cloudflare:
proxied: true
auto-ttl: true

docs:
- type: CNAME
value: 1a120fb909-hosting.gitbook.io.
octodns:
cloudflare:
proxied: false
auto-ttl: true

0 comments on commit d6fe769

Please sign in to comment.