doc/dns_config.md

26 lines
638 B
Markdown
Raw Normal View History

2014-06-17 22:11:38 +02:00
#DNS Configuration
Sample DNS config for domain.tld
2014-06-17 22:14:35 +02:00
```bash
2014-06-17 22:22:15 +02:00
#### IPv4 & IPv6
2014-06-17 22:11:38 +02:00
@ 900 IN A 111.222.333.444
@ 900 IN AAAA 2001:AABB:CCDD:EEFF:1122:3344:5566:7788
2014-06-17 22:22:15 +02:00
2014-06-17 22:11:38 +02:00
#### Handle www subdomain
www 1800 IN CNAME @
2014-06-17 22:22:15 +02:00
2014-06-17 22:11:38 +02:00
#### XMPP/Jabber subdomains
muc 1800 IN CNAME @
pubsub 1800 IN CNAME @
vjud 1800 IN CNAME @
_xmpp-client._tcp 14400 IN SRV 0 5 5222 domain.tld.
_xmpp-server._tcp 14400 IN SRV 0 5 5269 domain.tld.
2014-06-17 22:22:15 +02:00
2014-06-17 22:11:38 +02:00
#### Mail configuration
@ 900 IN MX 10 domain.tld.
2014-06-17 22:57:49 +02:00
@ 900 IN TXT "v=spf1 a mx -all"
2014-06-17 22:22:15 +02:00
```
2014-06-17 22:29:24 +02:00
<div class="alert alert-warning"><b>Warning :</b> Replace domain.tld with your own domain, and update IP sample values with your server IP</div>