Skip to content

Latest commit

 

History

History
27 lines (20 loc) · 842 Bytes

dns_config.md

File metadata and controls

27 lines (20 loc) · 842 Bytes

#DNS Configuration

Sample DNS config for domain.tld

#### IPv4 & IPv6
@ 900 IN A 111.222.333.444
@ 900 IN AAAA 2001:AABB:CCDD:EEFF:1122:3344:5566:7788

#### Handle www subdomain
www 1800 IN CNAME @

#### 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.

#### Mail configuration
@ 900 IN MX 10 domain.tld.
@ 900 IN TXT "v=spf1 a mx -all"
Warning : Replace domain.tld with your own domain, and update IP sample values with your server IP
Warning : @ is the default domain name currently defined, some registrar (like OVH) does not accept it, so replace @ by your domain name (domain.tld)