File tree Expand file tree Collapse file tree 3 files changed +84
-6
lines changed Expand file tree Collapse file tree 3 files changed +84
-6
lines changed Original file line number Diff line number Diff line change @@ -240,7 +240,7 @@ subdomain entry `_pgs`.
240
240
241
241
```
242
242
subdomain.yourcustomdomain.com. 300 IN CNAME pgs.sh.
243
- _pgs.subdomain.yourcustomdomain.com. 300 IN TXT " {user}-{project}"
243
+ _pgs.subdomain.yourcustomdomain.com. 300 IN TXT {user}-{project}
244
244
```
245
245
246
246
## Example: Top-Level Domain
@@ -253,7 +253,7 @@ Resulting in:
253
253
254
254
```
255
255
erock.io. 300 IN CNAME pgs.sh.
256
- _pgs.erock.io. 300 IN TXT " erock-kittens"
256
+ _pgs.erock.io. 300 IN TXT erock-kittens
257
257
```
258
258
259
259
Here's an example of what it looks like inside cloudflare:
@@ -270,7 +270,38 @@ Resulting in:
270
270
271
271
```
272
272
meow.erock.io. 300 IN CNAME pgs.sh.
273
- _pgs.meow.erock.io. 300 IN TXT "erock-kittens"
273
+ _pgs.meow.erock.io. 300 IN TXT erock-kittens
274
+ ```
275
+
276
+ Depending on your DNS, this could take some time to fully switch over.
277
+
278
+ ## Debug custom domains
279
+
280
+ We have an endpoint to check whether or not custom domains are setup:
281
+
282
+ ```
283
+ curl -i 'https://pgs.sh/check?domain=meow.erock.io'
284
+ ```
285
+
286
+ First check the main record:
287
+
288
+ ``` bash
289
+ dig meow.erock.io
290
+
291
+ ; << >> DiG 9.18.36 <<>> meow.erock.io
292
+ ;; QUESTION SECTION:
293
+ ;meow.erock.io. IN A
294
+
295
+ ;; ANSWER SECTION:
296
+ meow.erock.io. 60 IN A 129.158.37.104
297
+ ` ` `
298
+
299
+ Then check the ` TXT` record:
300
+
301
+ ` ` ` bash
302
+ dig -t txt +short _pgs.meow.erock.io
303
+
304
+ erock-kittens
274
305
` ` `
275
306
276
307
# Site customization
Original file line number Diff line number Diff line change @@ -368,11 +368,35 @@ _prose.subdomain.yourcustomdomain.com. 300 IN TXT erock
368
368
369
369
> We are replacing ` {user} ` token with the username ` erock ` as an example.
370
370
371
- Depending on your DNS, this could take some time to fully switch over. We have
372
- an endpoint to check whether or not custom domains are setup:
371
+ Depending on your DNS, this could take some time to fully switch over.
373
372
373
+ ## Debug custom domains
374
+
375
+ We have an endpoint to check whether or not custom domains are setup:
376
+
377
+ ``` bash
378
+ curl -i ' https://prose.sh/check?domain=subdomain.yourcustomdomain.com'
374
379
```
375
- curl -i 'https://prose.sh/check?domain=example.com'
380
+
381
+ First check the main record:
382
+
383
+ ``` bash
384
+ dig subdomain.yourcustomdomain.com
385
+
386
+ ; << >> DiG 9.18.36 <<>> subdomain.yourcustomdomain.com
387
+ ;; QUESTION SECTION:
388
+ ;subdomain.yourcustomdomain.com. IN A
389
+
390
+ ;; ANSWER SECTION:
391
+ subdomain.yourcustomdomain.com. 60 IN A 129.158.37.104
392
+ ` ` `
393
+
394
+ Then check the ` TXT` record:
395
+
396
+ ` ` ` bash
397
+ dig -t txt +short _prose.subdomain.yourcustomdomain.com
398
+
399
+ erock
376
400
` ` `
377
401
378
402
< hr />
Original file line number Diff line number Diff line change @@ -140,6 +140,29 @@ You may want to pre-select the region you connect to. Try pinging `ash.tuns.sh`
140
140
or ` nue.tuns.sh ` to find the instance closest to you (lowest latency), and use
141
141
that for both your SSH connection and CNAME.
142
142
143
+ ## Debug custom domains
144
+
145
+ First check the main record:
146
+
147
+ ``` bash
148
+ dig customdomain.example.com
149
+
150
+ ; << >> DiG 9.18.36 <<>> customdomain.example.com
151
+ ;; QUESTION SECTION:
152
+ ;customdomain.example.com. IN A
153
+
154
+ ;; ANSWER SECTION:
155
+ customdomain.example.com. 60 IN A 141.148.85.124
156
+ ` ` `
157
+
158
+ Then check the ` TXT` record:
159
+
160
+ ` ` ` bash
161
+ dig -t txt +short _sish.customdomain.example.com
162
+
163
+ SHA256:mVPwvezndPv/ARoIadVY98vAC0g+P/5633yTC4d/wXE
164
+ ` ` `
165
+
143
166
# tunmgr
144
167
145
168
A tunnel manager for docker services.
You can’t perform that action at this time.
0 commit comments