added DNS settings

This commit is contained in:
Elias Gasparis 2025-04-17 14:38:02 +08:00
parent 9c6da58b21
commit 535e0c91b1
2 changed files with 21 additions and 0 deletions

20
VPS-caddy/DNS-settings Normal file
View file

@ -0,0 +1,20 @@
# If your main domain is mydomain.com, the following settings will
# setup a wildcard setting so you can use *.home.mydomain.com for all your services.
# For example: jellyfin.home.mydomain.com / books.home.mydomain.com etc.
```
DNS SETTINGS
--------------------
NAME TYPE TTL VALUE
--------------------
* A 3600 183.11.113.0
# A record that makes all requests go to mydomain.com
*.home A 183.11.113.0
# A record that setups a subdomain so immich.home.mydomain.com or jellyfin.home.mydomain.com can be used.
```
# I set this up on a subdomain so I can use the main domain for other servers.
# Maybe I have a server called ninja, I could setup another A record for *.ninja and have jellyfin.ninja.mydomain.com

View file

@ -5,3 +5,4 @@ https://blog.arkadi.one/p/run-your-homelab-behind-your-vps/
- Dockerfile - to build a custom Caddy executable with gandi registrar module
- docker-compose.yml - to run Caddy
- Caddyfile - your caddy settings for a wildcard DNS
- DNS-settings - gives you an idea how to setup your DNS for wildcard certificates