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
a3935d6f3b
commit
659c6d9256
1 changed files with 6 additions and 15 deletions
|
@ -2,31 +2,22 @@
|
||||||
|
|
||||||
Sample DNS config for domain.tld
|
Sample DNS config for domain.tld
|
||||||
|
|
||||||
|
```bash
|
||||||
#### IPv4 & IPv6
|
#### IPv4 & IPv6
|
||||||
```bash
|
|
||||||
@ 900 IN A 111.222.333.444
|
@ 900 IN A 111.222.333.444
|
||||||
|
|
||||||
@ 900 IN AAAA 2001:AABB:CCDD:EEFF:1122:3344:5566:7788
|
@ 900 IN AAAA 2001:AABB:CCDD:EEFF:1122:3344:5566:7788
|
||||||
```
|
|
||||||
#### Handle www subdomain
|
#### Handle www subdomain
|
||||||
```bash
|
|
||||||
www 1800 IN CNAME @
|
www 1800 IN CNAME @
|
||||||
```
|
|
||||||
#### XMPP/Jabber subdomains
|
#### XMPP/Jabber subdomains
|
||||||
```bash
|
|
||||||
muc 1800 IN CNAME @
|
muc 1800 IN CNAME @
|
||||||
|
|
||||||
pubsub 1800 IN CNAME @
|
pubsub 1800 IN CNAME @
|
||||||
|
|
||||||
vjud 1800 IN CNAME @
|
vjud 1800 IN CNAME @
|
||||||
|
|
||||||
_xmpp-client._tcp 14400 IN SRV 0 5 5222 domain.tld.
|
_xmpp-client._tcp 14400 IN SRV 0 5 5222 domain.tld.
|
||||||
|
|
||||||
_xmpp-server._tcp 14400 IN SRV 0 5 5269 domain.tld.
|
_xmpp-server._tcp 14400 IN SRV 0 5 5269 domain.tld.
|
||||||
```
|
|
||||||
#### Mail configuration
|
|
||||||
```bash
|
|
||||||
@ 900 IN MX 10 domain.tld.
|
|
||||||
|
|
||||||
|
#### Mail configuration
|
||||||
|
@ 900 IN MX 10 domain.tld.
|
||||||
@ 900 IN TXT "v=spf1 a mx:domain.tld ~all"
|
@ 900 IN TXT "v=spf1 a mx:domain.tld ~all"
|
||||||
```
|
```
|
Loading…
Reference in a new issue