Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

A typical DNS zone file looks as follows:

Code Block
; WARNING: Zone file configuration is a sipX automatically generated file.

...



;          Contents may be overwritten unless you set the named.conf DNS_MODE.

...



;

...



$TTL

...

@       IN     SOA    ns1.ezuce.com. root.ezuce.com. (

                       2010090201 ; serial#

                       1800            ; refresh, seconds

                       1800            ; retry, seconds

                       1800            ; expire, seconds

                       1800 )          ; minimum TTL, seconds

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

; DNS Servers for 'ezuce.com'

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

; NS record for ezuce.com

;    server: openuc.ezuce.com

;

ezuce.com.            IN     NS     openuc.ezuce.com.

...

 1800

@       IN     SOA    ns1.ezuce.com. root.ezuce.com. (

                       2010090201 ; serial#

                       1800            ; refresh, seconds

                       1800            ; retry, seconds

                       1800            ; expire, seconds

                       1800 )          ; minimum TTL, seconds
\\

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

...

;

...

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

...



; DNS Servers for 'ezuce.com'

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

...

; NAPTR record for SIP TCP ezuce.com

;     priority: 2  weight: 0

;     protocol: "SIP+D2T"  regex: ""  uri: _sip._tcp.ezuce.com

;

ezuce.com.           IN      NAPTR   2 0 "s" "SIP+D2T" "" _sip._tcp.ezuce.com.

; NAPTR record for SIP UDP ezuce.com

;     priority: 2  weight: 0

;     protocol: "SIP+D2U"  regex: ""  uri: _sip._udp.ezuce.com

;

ezuce.com.           IN      NAPTR   2 0 "s" "SIP+D2U" "" _sip._udp.ezuce.com.

; SRV record for domain SIP TCP ezuce.com

;     priority: 1  weight: 0  port: 5060  server: openuc.ezuce.com

;

_sip._tcp.ezuce.com. IN      SRV     1 0 5060 openuc.ezuce.com.

; SRV record for domain SIP UDP ezuce.com

;     priority: 1  weight: 0  port: 5060  server: openuc.ezuce.com

;

_sip._udp.ezuce.com. IN      SRV     1 0 5060 openuc.ezuce.com.

; SRV record for service SIP TCP rr.openuc.ezuce.com

;     priority: 1  weight: 0  port: 5070  server: openuc.ezuce.com

;

_sip._tcp.rr.openuc.ezuce.com. IN      SRV     1   0 5070 openuc.ezuce.com.

; SRV record for XMPP SERVER TCP ezuce.com

;     priority: 1  weight: 0  port: 5269  server: openuc.ezuce.com

;

_xmpp-server._tcp.ezuce.com. IN      SRV     1  0 5269 openuc.ezuce.com.

; SRV record for XMPP CLIENT TCP ezuce.com

;     priority: 1  weight: 0  port: 5222  server: openuc.ezuce.com

;

_xmpp-client._tcp.ezuce.com. IN      SRV     1  0 5222 openuc.ezuce.com.

; SRV record for XMPP SERVER CHAT ROOM TCP ezuce.com

;     priority: 1  weight: 0  port: 5222  server: openuc.ezuce.com

;     NOTE: the XMPP client port is used here as this is the port used

;           by openfire to service multi-user chat requests.

;

_xmpp-server._tcp.conference.ezuce.com. IN      SRV     1  0 5222 openuc.ezuce.com.

; SRV record for XMPP CLIENT CHAT ROOM TCP ezuce.com

;     priority: 1  weight: 0  port: 5222  server: openuc.ezuce.com

;

_xmpp-client._tcp.conference.ezuce.com. IN      SRV     1  0 5222 openuc.ezuce.com.

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

; IP Addresses

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

; A record for openuc.ezuce.com

;

openuc.ezuce.com.       IN      A       192.168.5.2

...

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
\\

; NS record for ezuce.com

;    server: openuc.ezuce.com

;

ezuce.com.            IN     NS     openuc.ezuce.com.
\\

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

; Call Routing for SIP domain 'ezuce.com'

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
\\

; NAPTR record for SIP TCP ezuce.com

;     priority: 2  weight: 0

;     protocol: "SIP+D2T"  regex: ""  uri: \_sip._tcp.ezuce.com

;

ezuce.com.           IN      NAPTR   2 0 "s" "SIP+D2T" "" \_sip._tcp.ezuce.com.
\\

; NAPTR record for SIP UDP ezuce.com

;     priority: 2  weight: 0

;     protocol: "SIP+D2U"  regex: ""  uri: \_sip._udp.ezuce.com

;

ezuce.com.           IN      NAPTR   2 0 "s" "SIP+D2U" "" \_sip._udp.ezuce.com.
\\

; SRV record for domain SIP TCP ezuce.com

;     priority: 1  weight: 0  port: 5060  server: openuc.ezuce.com

;

\_sip._tcp.ezuce.com. IN      SRV     1 0 5060 openuc.ezuce.com.
\\

; SRV record for domain SIP UDP ezuce.com

;     priority: 1  weight: 0  port: 5060  server: openuc.ezuce.com

;

\_sip._udp.ezuce.com. IN      SRV     1 0 5060 openuc.ezuce.com.
\\

; SRV record for service SIP TCP rr.openuc.ezuce.com

;     priority: 1  weight: 0  port: 5070  server: openuc.ezuce.com

;

\_sip._tcp.rr.openuc.ezuce.com. IN      SRV     1   0 5070 openuc.ezuce.com.
\\

; SRV record for XMPP SERVER TCP ezuce.com

;     priority: 1  weight: 0  port: 5269  server: openuc.ezuce.com

;

\_xmpp-server._tcp.ezuce.com. IN      SRV     1  0 5269 openuc.ezuce.com.
\\

; SRV record for XMPP CLIENT TCP ezuce.com

;     priority: 1  weight: 0  port: 5222  server: openuc.ezuce.com

;

\_xmpp-client._tcp.ezuce.com. IN      SRV     1  0 5222 openuc.ezuce.com.
\\

; SRV record for XMPP SERVER CHAT ROOM TCP ezuce.com

;     priority: 1  weight: 0  port: 5222  server: openuc.ezuce.com

;     NOTE: the XMPP client port is used here as this is the port used

;           by openfire to service multi-user chat requests.

;

\_xmpp-server._tcp.conference.ezuce.com. IN      SRV     1  0 5222 openuc.ezuce.com.
\\

; SRV record for XMPP CLIENT CHAT ROOM TCP ezuce.com

;     priority: 1  weight: 0  port: 5222  server: openuc.ezuce.com

;

\_xmpp-client._tcp.conference.ezuce.com. IN      SRV     1  0 5222 openuc.ezuce.com.
\\

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

...

Required DNS Records for a Multiple Server Environment

The following are the required records for a multiple server sipXecs system.

A DNS Domain that is equivalent to the SIP domain

A-Record (host record) for each of the servers

SRV records for the SIP communications (port 5060 tcp & udp) with priority and weight for each of the servers.

SRV record for the resource record (port 5070 tcp) for each of the servers. This record is used for replication services to locate other servers for replication.

SRV record for XMPP client connections (port 5222 tcp) for the IM server

SRV record for XMPP server connections (port 5269 tcp) for the IM server

SRV record for XMPP client connections to XMPP conference (port 5222)  for the IM server

SRV record for XMPP servers connections to XMPP conference (port 5222) for the IM server

Example DNS Zone file

A typical DNS zone file for a multiple server configuration looks as follows (additional records for a multiple server installation are in red):

; WARNING: Zone file configuration is a sipX automatically generated file.

;          Contents may be overwritten unless you set the named.conf DNS_MODE.

;

$TTL 1800

@       IN     SOA    ns1.ezuce.com. root.ezuce.com. (

                       2010090201 ; serial#

                       1800            ; refresh, seconds

                       1800            ; retry, seconds

                       1800            ; expire, seconds

                       1800 )          ; minimum TTL, seconds

;;;;;;;;;;;;;;;;;

; IP Addresses

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
\\

; A record for openuc.ezuce.com

;

openuc.ezuce.com.       IN      A       192.168.5.2
\\

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
\\

Required DNS Records for a Multiple Server Environment

The following are the required records for a multiple server sipXecs system.

A DNS Domain that is equivalent to the SIP domain

A-Record (host record) for each of the servers

SRV records for the SIP communications (port 5060 tcp & udp) with priority and weight for each of the servers.

SRV record for the resource record (port 5070 tcp) for each of the servers. This record is used for replication services to locate other servers for replication.

SRV record for XMPP client connections (port 5222 tcp) for the IM server

SRV record for XMPP server connections (port 5269 tcp) for the IM server

SRV record for XMPP client connections to XMPP conference (port 5222)  for the IM server

SRV record for XMPP servers connections to XMPP conference (port 5222) for the IM server

Example DNS Zone file

A typical DNS zone file for a multiple server configuration looks as follows (additional records for a multiple server installation are in red):

Code Block
; WARNING: Zone file configuration is a sipX automatically generated file.

;          Contents may be overwritten unless you set the named.conf DNS_MODE.

;

$TTL 1800

@       IN     SOA    ns1.ezuce.com. root.ezuce.com. (

                       2010090201 ; serial#

                       1800            ; refresh, seconds

                       1800            ; retry, seconds

                       1800            ; expire, seconds

                       1800 )          ; minimum TTL, seconds
\\

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

; DNS Servers for 'ezuce.com'

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
\\

; NS record for ezuce.com

;    server: openuc.ezuce.com

;

ezuce.com.            IN     NS     openuc.ezuce.com.
\\

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

; Call Routing for SIP domain 'ezuce.com'

;;;;;;;;;;;;;;;;;;;;;;;;;;;

...

;

...

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
\\

; NAPTR record for SIP TCP ezuce.com

;     priority: 2  weight: 0

;     protocol: "SIP+D2T"  regex: ""  uri: \_sip._tcp.ezuce.com

;

ezuce.com.           IN    

...

; NS record for ezuce.com

;    server: openuc.ezuce.com

;

ezuce.com.            IN     NS     openuc.ezuce.com.

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

; Call Routing for SIP domain 'ezuce.com'

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

; NAPTR record for SIP TCP ezuce.com

;     priority: 2  weight: 0

;     protocol: "SIP+D2T"  regex: ""  uri: _sip._tcp.ezuce.com

;

ezuce.com.           IN      NAPTR   2 0 "s" "SIP+D2T" "" _sip._tcp.ezuce.com.

; NAPTR record for SIP UDP ezuce.com

;     priority: 2  weight: 0

;     protocol: "SIP+D2U"  regex: ""  uri: _sip._udp.ezuce.com

;

ezuce.com.           IN      NAPTR   2 0 "s" "SIP+D2U" "" _sip._udp.ezuce.com.

; SRV record for domain SIP TCP ezuce.com

;     priority: 1  weight: 0  port: 5060  server: openuc.ezuce.com

;

_sip._tcp.ezuce.com. IN      SRV     1 0 5060 openuc.ezuce.com.

_sip._tcp.ezuce.com. IN      SRV     1 0 5060 openuc2.ezuce.com.

; SRV record for domain SIP UDP ezuce.com

;     priority: 1  weight: 0  port: 5060  server: openuc.ezuce.com

;

_sip._udp.ezuce.com. IN      SRV     1 0 5060 openuc.ezuce.com.

_sip._udp.ezuce.com. IN      SRV     1 0 5060 openuc2.ezuce.com.

; SRV record for service SIP TCP rr.openuc.ezuce.com

;     priority: 1  weight: 0  port: 5070  server: openuc.ezuce.com

;

_sip._tcp.rr.openuc.ezuce.com. IN      SRV     1   0 5070 openuc.ezuce.com.

_sip._tcp.rr.openuc.ezuce.com. IN      SRV     2 100 5070 openuc2.ezuce.com.

_sip._tcp.rr.openuc2.ezuce.com. IN      SRV     1   0 5070 openuc2.ezuce.com.

...

; SRV record for XMPP SERVER TCP ezuce.com

;     priority: 1  weight: 0  port: 5269  server: openuc.ezuce.com

;

_xmpp-server._tcp.ezuce.com. IN      SRV     1  0 5269 openuc.ezuce.com.

; SRV record for XMPP CLIENT TCP ezuce.com

;     priority: 1  weight: 0  port: 5222  server: openuc.ezuce.com

;

_xmpp-client._tcp.ezuce.com. IN      SRV     1  0 5222 openuc.ezuce.com.

; SRV record for XMPP SERVER CHAT ROOM TCP ezuce.com

;     priority: 1  weight: 0  port: 5222  server: openuc.ezuce.com

;     NOTE: the XMPP client port is used here as this is the port used

;           by openfire to service multi-user chat requests.

;

  NAPTR   2 0 "s" "SIP+D2T" "" \_sip._tcp.ezuce.com.
\\

; NAPTR record for SIP UDP ezuce.com

;     priority: 2  weight: 0

;     protocol: "SIP+D2U"  regex: ""  uri: \_sip._udp.ezuce.com

;

ezuce.com.           IN      NAPTR   2 0 "s" "SIP+D2U" "" \_sip._udp.ezuce.com.
\\

; SRV record for domain SIP TCP ezuce.com

;     priority: 1  weight: 0  port: 5060  server: openuc.ezuce.com

;

\_sip._tcp.ezuce.com. IN      SRV     1 0 5060 openuc.ezuce.com.

\_sip._tcp.ezuce.com. IN      SRV     1 0 5060 openuc2.ezuce.com.
\\

; SRV record for domain SIP UDP ezuce.com

;     priority: 1  weight: 0  port: 5060  server: openuc.ezuce.com

;

\_sip._udp.ezuce.com. IN      SRV     1 0 5060 openuc.ezuce.com.

\_sip._udp.ezuce.com. IN      SRV     1 0 5060 openuc2.ezuce.com.
\\

; SRV record for service SIP TCP rr.openuc.ezuce.com

;     priority: 1  weight: 0  port: 5070  server: openuc.ezuce.com

;

\_sip._tcp.rr.openuc.ezuce.com. IN      SRV     1   0 5070 openuc.ezuce.com.

\_sip._tcp.rr.openuc.ezuce.com. IN      SRV     2 100 5070 openuc2.ezuce.com.
\\

\_sip._tcp.rr.openuc2.ezuce.com. IN      SRV     1   0 5070 openuc2.ezuce.com.

\_sip._tcp.rr.openuc2.ezuce.com. IN      SRV     2 100 5070 openuc.ezuce.com.
\\
\\

; SRV record for XMPP SERVER TCP ezuce.com

;     priority: 1  weight: 0  port: 5269  server: openuc.ezuce.com

;

\_xmpp-server._tcp.ezuce.com. IN      SRV     1  0 5269 openuc.ezuce.com.
\\

; SRV record for XMPP CLIENT TCP ezuce.com

;     priority: 1  weight: 0  port: 5222  server: openuc.ezuce.com

;

\_xmpp-client._tcp.ezuce.com. IN      SRV     1  0 5222 openuc.ezuce.com.
\\

; SRV record for XMPP SERVER CHAT ROOM TCP ezuce.com

;     priority: 1  weight: 0  port: 5222  server: openuc.ezuce.com

;     NOTE: the XMPP client port is used here as this is the port used

;           by openfire to service multi-user chat requests.

;

\_xmpp-server._tcp.conference.ezuce.com.

...

 IN      SRV     1  0 5222 openuc.ezuce.com.

...


\\

; SRV record for XMPP CLIENT CHAT ROOM TCP ezuce.com

...



;     priority: 1  weight: 0  port: 5222  server: openuc.ezuce.com

...

;



;

\_xmpp-client._tcp.conference.ezuce.com

...

. IN      SRV     1  0 5222 openuc.ezuce.com.

...


\\

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

...



; IP

...

 Addresses

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
\\

; A record for openuc.ezuce.com

;

openuc.ezuce.com.       IN      A    

...

; A record for openuc.ezuce.com

;

...

   192.168.5.2

...



openuc2.ezuce.com.

...

      IN      A       192.168.5.3

...


\\

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
\\

Scenario 1 – sipXecs PBX on the Data Network

...