PDA

View Full Version : Dns Srv



heininger
06-02-2004, 06:24 AM
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

nieuwhier
04-18-2006, 06:00 AM
I've got several questions from customers who want to be able to use SRV records in the DNS.

nieuwhier
10-30-2006, 02:18 AM
No news yet ?

DirectAdmin Support
10-30-2006, 05:35 PM
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:
|*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

Kolo
12-24-2006, 01:10 AM
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.

hostpc.com
01-01-2007, 09:51 PM
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

xemaps2
01-03-2007, 01:11 PM
i agree for all type of valid records
to avoid manual entries.

simon.foley
04-28-2007, 06:48 AM
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.

ktizo
09-17-2007, 01:14 AM
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,

DirectAdmin Support
09-17-2007, 05:56 PM
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

smtalk
09-17-2007, 09:51 PM
Maybe AAAA :)

cyril
09-18-2007, 08:46 AM
What about more control of the SOA record? Like editing the TTL of a domain.

mdr
09-25-2007, 06:36 AM
Indeed, edit of the TTL / zone has my vote too!