Dns Srv

heininger

New member
Joined
Mar 18, 2004
Messages
55
Location
Europe / Vienna
Hi,

it would be great if we could configure DNS SRV records with DA.

Those SRV records are used e.g. for VoIP SIP server.


TIA,
Mike
 
DirectAdmin does not currently support SRV records.. they can be added manually in the named.db template for the rare case of someone needing them, eg:

cd /usr/local/directadmin/data/templates
cp named.db custom
cd custom
vi named.db

insert:
Code:
|*if DOMAIN="thesrvdomain.com"|
_whatever._tcp 14400 SRV 0 123 host.com.
|*endif|
into the appropriate spot in the templates/custom/named.db file, where you want it to show up.

The next dns change you make via the control panel will issue the rewrite of the zone.. and because of the "if statement", only "thesrvdiomain.com" will get the SRV record. You can do this many times for different domains.

We don't currently have plans to support SRV.
Should more demand for it come, we can add it.

John
 
Sorry, but is it hard to add SRV records support? ;)

I have a lot of clients asking for SRV records because of popular Google Hosted Service and i can't use the method above for each client.

+1 for SRV records.
 
I have to add my vote for SRV records also. We're hosting a LOT of sites that are requesting them on a regular basis.

Thanks for the patch, I'll use that until a more permanent solution is found.

Joe
 
Hi,

Using the directions above, can someone please have a look at the following and let me know if I have configured the SRV record correctly?

===========================================================
[root@sever ~]# cd /usr/local/directadmin/data/templates
[root@sever templates]# cd custom
[root@sever custom]# vi named.db
|?CNAME_TIME=14400|
|?PTR_TIME=14400|
|?TXT_TIME=14400|
$TTL 14400
@ IN SOA |NS1| |EMAIL| (
|SERIAL|
7200
3600
1209600
86400 )

|NS|
|A|
|MX|
|CNAME|
|PTR|
|TXT|
|*if DOMAIN="mydomain.co.uk"|
_sip._tls 14400 SRV 0 5061 sip.mydomain.co.uk.
_sip._tcp 14400 SRV 0 5060 sip.mydomain.co.uk.
_sipinternaltls._tcp 14400 SRV 0 5061 sip.mydomain.co.uk.
_sipinternal._tcp 14400 SRV 0 5060 sip.mydomain.co.uk.
|*endif|
==========================================================

basically, I am trying to direct SIP traffic on TLS and TCP port 5060 and 5061 to my SIP server.

Any help would be greatly appreciated.

Thanks,

Simon.
 
Did you managed to get the SRV working? My client is also asking for this feature. Let me know if you've got yours working. Thanks,
 
I'll add SRV's to the 1.30.4 release.
If there are other formats needed, now would be the time to request them ;)

John
 
What about more control of the SOA record? Like editing the TTL of a domain.
 
Back
Top