Chapter 5. DNS setup

Table of Contents

Using non-standard ports
Sample DNS zone file
Testing the DNS settings

The DNS records to be created are detailed in Table 5.1, “DNS records for the example”

Table 5.1. DNS records for the example

Record NameTypeValue
server1A198.51.100.19
server1AAAA2001:DB8:1000:2000::19
turn-serverA198.51.100.19
turn-serverAAAA2001:DB8:1000:2000::19
sip-proxyA198.51.100.19
sip-proxyAAAA2001:DB8:1000:2000::19
xmpp-gwA198.51.100.19
xmpp-gwAAAA2001:DB8:1000:2000::19
_stun._udpSRV0 1 3478 turn-server.example.org.
_turn._udpSRV0 1 3478 turn-server.example.org.
_sips._tcpSRV0 1 5061 sip-proxy.example.org.
_xmpp-client._tcpSRV5 0 5222 xmpp-gw.example.org.
_xmpp-server._tcpSRV5 0 5269 xmpp-gw.example.org.
@NAPTR10 0 "s" "SIPS+D2T" "" _sips._tcp.example.org.
@NAPTR10 0 "s" RELAY:turn.udp "" _turn._udp.example.org.