mirror of
https://github.com/YunoHost/doc.git
synced 2024-09-03 20:06:26 +02:00
Update dns_config.md
This commit is contained in:
parent
7610553060
commit
d4bedfc22f
1 changed files with 12 additions and 8 deletions
|
@ -4,11 +4,11 @@ Sample DNS zone configuration for `domain.tld` domain nane:
|
|||
|
||||
#### Redirection from the domain name to the IP address
|
||||
```bash
|
||||
@ 900 IN A 111.222.333.444 # (Minimal) IPv4
|
||||
@ 900 IN AAAA 2001:AABB:CCDD:EEFF:1122:3344:5566:7788 # IPv6
|
||||
@ 1800 IN A 111.222.333.444 # (Minimal) IPv4
|
||||
@ 1800 IN AAAA 2001:AABB:CCDD:EEFF:1122:3344:5566:7788 # IPv6
|
||||
|
||||
* 900 IN A 111.222.333.444 # Wildcard
|
||||
* 900 IN AAAA 2001:AABB:CCDD:EEFF:1122:3344:5566:7788
|
||||
* 1800 IN A 111.222.333.444 # Wildcard
|
||||
* 1800 IN AAAA 2001:AABB:CCDD:EEFF:1122:3344:5566:7788
|
||||
```
|
||||
|
||||
#### Subdomains
|
||||
|
@ -18,8 +18,9 @@ www 1800 IN CNAME @ # accesible at www.domain.tld
|
|||
|
||||
#### XMPP
|
||||
```bash
|
||||
_xmpp-client._tcp 14400 IN SRV 0 5 5222 domain.tld. # (Minimal) clients connection
|
||||
_xmpp-server._tcp 14400 IN SRV 0 5 5269 domain.tld. # (Minimal) servers connection
|
||||
_xmpp-client._tcp 1800 IN SRV 0 5 5222 domain.tld. # (Minimal) clients connection
|
||||
_xmpp-server._tcp 1800 IN SRV 0 5 5269 domain.tld. # (Minimal) servers connection
|
||||
|
||||
muc 1800 IN CNAME @ # multi-user chat rooms at muc.domain.tld
|
||||
anonymous 1800 IN CNAME @ # connection without account at `anonymous.domain.tld`
|
||||
bosh 1800 CNAME @ # BOSH
|
||||
|
@ -30,8 +31,8 @@ vjud 1800 IN CNAME @
|
|||
|
||||
#### Email
|
||||
```bash
|
||||
@ 900 IN MX 10 domain.tld. (Minimal)
|
||||
@ 900 IN TXT "v=spf1 a mx -all"
|
||||
@ 1800 IN MX 10 domain.tld. # (Minimal)
|
||||
@ 1800 IN TXT "v=spf1 a mx -all"
|
||||
```
|
||||
|
||||
#### Set up
|
||||
|
@ -44,3 +45,6 @@ Replace:
|
|||
<div class="alert alert-info"><b>To begin:</b> lines with "(Minimal)" are the minimal required DNS entries to make works redirection from the domain name to the IP adress, XMPP and email.</div>
|
||||
|
||||
<div class="alert alert-warning"><b>Warning:</b> <b>@</b> is the default domain name currently defined, some registrar (like OVH) does not accept it, so replace @ by your domain name (domain.tld**.**) with a dot at the end.</div>
|
||||
|
||||
#### Time to live
|
||||
All DNS lines above have `1800` value (30 minutes). It corresponds to [Time to live (TTL)](https://en.wikipedia.org/wiki/Time_to_live#DNS_records) which represents and indicate time, in seconds, during which the DNS line can be kept in the cache. After this time, the information must me considered obsolete and must be update.
|
Loading…
Reference in a new issue