DNS srv records

Teth

New member
Joined
Feb 4, 2010
Messages
1
Hi I'm a customer of a host that uses directadmin.

I have set up an openfire based XMPP / jabber protocol based chat server for my domain. It has been tested and I'm ready to go primetime with it but I can't seem to figure out how the srv records should be entered in the direct admin user interface in order to have them correctly added and propagate. In the process of trial and error testing this I took down my site with what was obviously a malformed record which broke the name server.

I need to add the following srv records according to the XMPP protocol documentation.

Code:
_xmpp-server._tcp 3600 IN SRV 10 0 5269 my.domain.com.
_xmpp-server._udp 3600 IN SRV 10 0 5269 my.domain.com.
_xmpp-client._tcp 3600 IN SRV 10 0 5222 my.domain.com.
_xmpp-client._udp 3600 IN SRV 10 0 5222 my.domain.com.
_jabber._tcp 3600 IN SRV 10 0 5269 my.domain.com.
_jabber._udp 3600 IN SRV 10 0 5269 my.domain.com.
_jabber-client._tcp 3600 IN SRV 10 0 5222 my.domain.com.
_jabber-client._udp 3600 IN SRV 10 0 5222 my.domain.com.

What exactly should I type in either or both of the boxes in the direct admin console to add a successful record. I have searched both google and the direct admin forums and site-helper for this to no avail.

Thanks for any help.
 
Hello,

In the SRV form, in the left field, you'd enter:
Code:
_xmpp-server._tcp
and in the right field, you'd enter:
Code:
10 0 5269 my.domain.com.

If they're not being added when you hit the 'Add' button to submit the form, then likely you've got a custom named.db file which is missing the |SRV| token in it.

Check for:
/usr/local/directadmin/data/templates/custom/named.db
/usr/local/directadmin/data/templates/named.db

The custom one, if present, would have been copied there. It will override the default one. The named.db that is being used should look something like
Code:
|?NS_TIME=14400|
|?A_TIME=14400|
|?MX_TIME=14400|
|?CNAME_TIME=14400|
|?PTR_TIME=14400|
|?TXT_TIME=14400|
|?AAAA_TIME=14400|
|?SRV_TIME=14400|
$TTL 14400
@       IN      SOA     |NS1|      |EMAIL| (
                                                |SERIAL|
                                                14400
                                                3600
                                                1209600
                                                86400 )

|NS|
|A|
|MX|
|CNAME|
|PTR|
|TXT|
|AAAA|
|SRV|
with the |SRV| token at the bottom. This is where your SRV records are inserted to.

John
 
Hello, I also am a customer of a host that uses DirectAdmin and I was wondering if anyone knows what the appropriate left/right field values would be in order to successfully add the following SRV records via DirectAdmin.

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

I've made my best effort as follows but I'm not certain whether the order is correct. What does anyone think?

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

Thanks so much!
 
Back
Top