I've updated the patch file again, the latest version is attached

This is based on feedback from Simon Josefsson for the RTC Quick Start Guide
https://github.com/opentelecoms-org/RTCQuickstartGuide/issues/1

>From 4bf44b8f2c99e8be23b666f01fe6e1ce979c864f Mon Sep 17 00:00:00 2001
From: Daniel Pocock <dan...@pocock.pro>
Date: Thu, 22 Oct 2015 17:40:05 +0200
Subject: [PATCH] Add DNS records for TURN over UDP to example zone file

---
 en-US/11_network-services.xml | 18 +++++++++++++-----
 1 file changed, 13 insertions(+), 5 deletions(-)

diff --git a/en-US/11_network-services.xml b/en-US/11_network-services.xml
index eed3323..381268f 100644
--- a/en-US/11_network-services.xml
+++ b/en-US/11_network-services.xml
@@ -3097,13 +3097,21 @@ TLS_CACERT      /etc/ssl/certs/ca-certificates.crt
 server1            IN     A      198.51.100.19
 server1            IN     AAAA   2001:DB8:1000:2000::19
 
-; some convenient CNAMEs
-turn-server        IN     CNAME  server1
-sip-proxy          IN     CNAME  server1
-xmpp-gw            IN     CNAME  server1
+; IPv4 only for TURN for now, some clients are buggy with IPv6
+turn-server        IN     A      198.51.100.19
 
-; DNS SRV for STUN / TURN
+; IPv4 and IPv6 addresses for SIP
+sip-proxy          IN     A      198.51.100.19
+sip-proxy          IN     AAAA   2001:DB8:1000:2000::19
+
+; IPv4 and IPv6 addresses for XMPP
+xmpp-gw            IN     A      198.51.100.19
+xmpp-gw            IN     AAAA   2001:DB8:1000:2000::19
+
+; DNS SRV and NAPTR for STUN / TURN
 _stun._udp  IN SRV    0 1 3467 turn-server.falcot.com.
+_turn._udp  IN SRV    0 1 3467 turn-server.falcot.com.
+@           IN NAPTR  10 0 "s" "RELAY:turn.udp" "" _turn._udp.falcot.com.
 
 ; DNS SRV and NAPTR records for SIP
 _sips._tcp  IN SRV    0 1 5061 sip-proxy.falcot.com.
-- 
2.1.4

Reply via email to