How To Add SRV Records?

Knox

New member
Joined
Mar 23, 2011
Messages
5
Hi guys i'm required to add this following records in the SRV. How do i do so?
I've searched the forum and that method doesn't work.

Here are the SRV Records

Create these DNS records to configure your domain to use Microsoft Lync Online for instant messaging.

Type Service Protocol Port Weight Priority TTL Name Target
SRV _sip _tls 443 1 100 1 Hour domain.com sipdir.online.lync.com
SRV _sipfederationtls _tcp 5061 1 100 1 Hour domain.com sipfed.online.lync.com

Any help is appreciated.

Thanks
 
Hello,

Related guide:
http://en.wikipedia.org/wiki/SRV_record

For the example:
Code:
_sip._tcp.example.com. 86400 IN SRV 10 60 5060 bigbox.example.com.
you'd put this on the left:
_sip._tcp.example.com.

and this on the right:
10 60 5060 bigbox.example.com.

The format you mentioned doesn't quite look right, as the SRV value should be somewhere in the middle.

John
 
What's the syntax for adding SRV records via DirectAdmin?

Hi, I don't think that Knox was trying to specify the syntax order (i.e SRV at the beginning). Another way of putting the SRV records that Knox was trying to add is:

1st SRV record to add
record type: SRV
Service: _sip
Protocol: _tls
Port: 443
Weight: 1
Priority: 100
Target: sipdir.online.lync.com
Name: mydomain.com
TTL: 1 Hour

2nd SRV record to add
record type: SRV
Service: _sipfederationtls
Protocol: _tcp
Port: 5061
Weight: 1
Priority: 100
Target: sipdir.online.lync.com
Name: mydomain.com
TTL: 1 Hour

Knox's question should have been "what is the syntax for adding SRV records via DirectAdmin?". I too am interested in knowing the answer to this as I am in the exact same position as Knox in that I need to add the same SRV records via DirectAdmin.

I've made my best effort below but I would definitely appreciate if anyone can confirm/correct this:

left field: [record type].[protocol]
right field: [weight] [priority] [port] [target]

I'm not sure where the Name or TTL would go (possibly the Name is just the domain name which the record corresponds to and as such wouldn't need to be specified in the left or the right field).

So using that syntax the values above would be inputted as follows:

1st SRV record
left field: _sip._tls
right field: 1 100 443 sipdir.online.lync.com

2nd SRV record
left field: _sipfederationtls._tcp
right field: 1 100 5061 sipdir.online.lync.com

Now that Microsoft Lync Online is in public beta it is very likely that many people will be interested in adding these SRV records via DirectAdmin. So if anyone knows whether this example is correct it would definitely be appreciated.

Many thanks!
 
first one:

Code:
left: _sip._tls
right: 100 1 443 sipdir.online.lync.com.

second one:

Code:
left: _sipfederationtls._tcp
right: 100 1 5061 sipdir.online.lync.com.

You do not put the TTL because that value defaults to whatever directadmin is using as the default TTL.

Make sure you put the trailing period after lync.com because it is important.

This is how it will output into your dns zone:

Code:
_sip._tls       14400   IN      SRV     100 1 443 sipdir.online.lync.com.
_sipfederationtls._tcp  14400   IN      SRV     100 1 5061 sipdir.online.lync.com.
 
Last edited:
Hi scsi, thanks for the great answer - very clear and comprehensive :)

Interestingly enough I have a new but related issue which is that when I enter the left & right values then click "add" nothing seems to happen and no new DNS records appear to be added in the top half of the page. I notice from this post from last year (http://www.directadmin.com/forum/showthread.php?t=35234) that the culprit could possibly be due to the presence of a custom named.db file which is missing the |SRV| token from it.

I wonder, does anyone know whether this is still the accepted thinking on this?

Thanks again
 
If you own the server then you should check that file...if not ask your hosting provider to check and show them the thread.
 
Back
Top