共用方式為


Creating OCS Access Edge DNS SRV records in BIND

The OCS deployment guides have step-by-step instructions on creating the necessary DNS SRV records in Windows DNS Server, but what if you're using BIND as your external Internet-facing DNS server?

First you'll need an A record for the external IP address of your Access Edge:

e.g. sip.contoso.com -> 192.168.0.1

And you'll need the relevant SRV records for federation and remote user access:

e.g. _sipfederationtls._tcp.contoso.com and _sip._tls.contoso.com

So what should these look like in BIND?

_sipfederationtls._tcp.contoso.com. 86400 IN SRV 0 0 5061 sip.contoso.com.

_sip._tls.contoso.com. 86400 IN SRV 0 0 443 sip.contoso.com.

If we break that down:

_sipfederationtls._tcp.contoso.com. - that is the SRV record name. Notice the ' . ' on the end.

86400 - that is the TTL, in seconds.

IN - class

SRV - the record type

0 - priority

0 - weight

5061 - port number

sip.contoso.com. - the A record of the Access Edge. Notice the ' . ' on the end.

More information on this at https://www.zytrax.com/books/dns/ch8/srv.html

Share this post :

Technorati Tags: ocs, dns, bind, srv, federation

Comments

  • Anonymous
    January 01, 2003
    The comment has been removed
  • Anonymous
    June 13, 2008
    The comment has been removed
  • Anonymous
    March 05, 2011
    Hi Johan, Where did you get the values of the SRV recored? I'm talking about weight, class, priority etc? Many thanks, Sebastiaan