diff --git a/wiki/dns.md b/wiki/dns.md new file mode 100644 index 0000000..b448be8 --- /dev/null +++ b/wiki/dns.md @@ -0,0 +1,54 @@ +# DNS + +The Domain Name System (DNS) is a naming system for computers or other resources +connected to a network. +It associates various information with domain names. + +## Server + +A server can be setup via docker with the [ventz image](./docker-images/ventz_-_bind.md) + +## Records + +### A record + +A (address) records map hostnames to an IP. +Its basic structure is: + +```txt +name. A IP +``` + +Where `name` is the domain to map the `IP` to and `A` is the constant for +the type of the record. + +### CNAME record + +CNAME (canonical name) records map one domain name to another. +Its basic structure is: + +```txt +name. CNAME value. +``` + +Where `name` is the domain to map the `value` (another domain) to and `CNAME` is +the constant for the type of the record. + +### SRV record + +Service (SRV) records define the port and hostname for specified services. +Its basic structure is: + +```txt +_service._proto.name. TTL class SRV priority weight port target +``` + +Where `_service` is the service name, `_proto` is the used protocoll (TCP/UDP), +`name` is the domain name to assign to, `TTL` is the DNS time to live, `class` +always is `IN`, `SRV` is the constant for the type of the record, `priority` is +the priority of the target host, `weight` is the relative weight for records +with the same priority, `port` is the port on that the service can be found and +`target` is the canonical hostname of the server. + +Note that you need to create an A if you bind a service to a `name` that doesn't +already have one. diff --git a/wiki/minecraft.md b/wiki/minecraft.md index 3f41629..f98e0a8 100644 --- a/wiki/minecraft.md +++ b/wiki/minecraft.md @@ -13,3 +13,23 @@ There are different Minecraft Clients available: - The standard (Java) Minecraft Client can be downloaded at the [official website](https://minecraft.net/en-us/get-minecraft) - [MultiMC5](./multimc5.md) is a custom Minecraft launcher that allows multiple installations at once. + +## DNS + +### Link Minecraft to a subdomain + +To link Minecraft to one of your subdomains you need to add a [DNS](./dns.md) +SRV-record: + +```txt +type: SRV +name: mine (or alternative subdomain) +service: _minecraft +proto: TCP +TTL: +class: IN +priority: 0 +weight: 4 +port: 25565 (or your minecraft port) +target: mine.. +``` diff --git a/wiki/teamspeak3.md b/wiki/teamspeak3.md new file mode 100644 index 0000000..f8dfd0c --- /dev/null +++ b/wiki/teamspeak3.md @@ -0,0 +1,27 @@ +# Teamspeak3 + +[Teamspeak3](https://www.teamspeak.com) is a voice-over-IP service. + +## Server + +A server can be setup via docker with the [teamspeak image](./docker-images/teamspeak.md). + +## DNS + +### Link Teamspeak3 to a subdomain + +To link Teamspeak3 to one of your subdomains you need to add a [DNS](./dns.md) +SRV-record: + +```txt +type: SRV +name: ts3 (or alternative subdomain) +service: _ts3 +proto: UDP +TTL: +class: IN +priority: 0 +weight: 5 +port: 9987 (or your teamspeak3 port) +target: ts3.. +```