Skip to content

Commit bd22f1d

Browse files
committed
Avoid using CNAME with TXT records for redirects, which is non-standard.
1 parent 8f22e0a commit bd22f1d

File tree

3 files changed

+6
-7
lines changed

3 files changed

+6
-7
lines changed

config.yaml

-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ providers:
2323

2424
zones:
2525
g0v.network.:
26-
lenient: true
2726
sources:
2827
- config-files
2928
targets:

docs/HOWTO.md

+3-4
Original file line numberDiff line numberDiff line change
@@ -108,8 +108,6 @@ index 3d10aed..4947530 100644
108108
targets:
109109
- cloudflare
110110
g0v.ca.:
111-
+ # Allow TXT and CNAME to be created on same subdomain.
112-
+ lenient: true
113111
sources:
114112
- config-files
115113
targets:
@@ -125,8 +123,9 @@ index 0000000..7536024
125123
+ values:
126124
+ # Used for 301 redirect service below
127125
+ - 301 https://example.com/
128-
+ - type: CNAME
129-
+ value: 301.ronny.tw.
126+
+ - type: A
127+
+ # 301.ronny.tw
128+
+ value: 52.69.187.52
130129
```
131130

132131
</details>

g0v.network.domain/explorations.conversa.g0v.network.yaml

+3-2
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,6 @@ explorations.conversa:
77
- ballpointpenguin
88
- dsiddarth
99
- patcon
10-
- type: CNAME
11-
value: 301.ronny.tw.
10+
- type: A
11+
# 301.ronny.tw
12+
value: 52.69.187.52

0 commit comments

Comments
 (0)