From 8da3493e3afaa165c87be5bfb6d7517c24935a8f Mon Sep 17 00:00:00 2001 From: "ma.azimi@laposte.net" Date: Tue, 17 Jun 2014 22:14:35 +0200 Subject: [PATCH] Update dns_config.md --- dns_config.md | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/dns_config.md b/dns_config.md index 711a5dfa..3e8826a0 100644 --- a/dns_config.md +++ b/dns_config.md @@ -3,14 +3,17 @@ Sample DNS config for domain.tld #### IPv4 & IPv6 +```bash @ 900 IN A 111.222.333.444 @ 900 IN AAAA 2001:AABB:CCDD:EEFF:1122:3344:5566:7788 - +``` #### Handle www subdomain +```bash www 1800 IN CNAME @ - +``` #### XMPP/Jabber subdomains +```bash muc 1800 IN CNAME @ pubsub 1800 IN CNAME @ @@ -20,8 +23,10 @@ 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 +```bash @ 900 IN MX 10 domain.tld. @ 900 IN TXT "v=spf1 a mx:domain.tld ~all" +``` \ No newline at end of file