Page 1 of 1

DNS SRV Records

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

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 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 as the Host portion. The result of that will be: resolves to

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

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 resolves to which resolves to

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.