Page 1 of 1

DNS SRV Records

Posted: Thu Mar 28, 2013 1:15 am
by merdok
hello

I am new to the sip world!

I want to set my sites DNS SRV records to point to your website so I can call my friend on sipsorcery like "sipsorceryuser@mysite.ccc"

my domain registrer lets me add a SRV record with
Host : xxx.mysite.ccc
Answer: weight, port, and host, in that order, separated by spaces
TTL: default 300
Prio: default 10

what should I put in those fields?
or am i understanding DNS SRV wrong?

ps. com -> cccc (it said I looked like a spam)

Re: DNS SRV Records

Posted: Fri Mar 29, 2013 9:44 pm
by Aaron
The first thing you need to do is email me at admin@sipsorcery.com with your domain name and sipsorcery username so I can add it to your account. Without that the sipsorcery servers won't recognise requests arriving with that domain name and will reject them.

After that you "could" set up your SRV records and use sipsorcery.com as the Host portion. The result of that will be:

_sip._udp.mysite.com resolves to sipsorcery.com

However it's normally better to create your own A record of sip.mysite.com and point it to 67.222.131.147 and then use sip.mysite.com as the Host in your SRV records which results in:

_sip._udp.mysite.com resolves to sip.mysite.com which resolves to 67.222.131.147

The advantage of the second approach is that a lot of SIP devices/clients don't have great support for SRV records and will fallback to using the A record. Which means you should also set up a SRV record for sip.mysite.com:

_sip._udp.sip.mysite.com resolves to sip.mysite.com which resolves to 67.222.131.147

Re: DNS SRV Records

Posted: Sun Apr 09, 2017 9:01 am
by ccwalkerjm
Could you have an api so that we could configure this ourselves?

Re: DNS SRV Records

Posted: Sun Apr 09, 2017 9:29 am
by Aaron
Do you mean adding a domain alias? I only get approximately 2 or 3 requests a year for this so I don't think it justifies an API.