DNS SRV Records

Getting started with the SIP Sorcery
Post Reply
merdok
Posts: 1
Joined: Thu Mar 28, 2013 1:01 am

DNS SRV Records

Post by merdok » Thu Mar 28, 2013 1:15 am

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)

User avatar
Aaron
Site Admin
Posts: 4554
Joined: Thu Jul 12, 2007 12:13 am

Re: DNS SRV Records

Post by Aaron » Fri Mar 29, 2013 9:44 pm

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

ccwalkerjm
Posts: 7
Joined: Sat Aug 10, 2013 8:48 pm

Re: DNS SRV Records

Post by ccwalkerjm » Sun Apr 09, 2017 9:01 am

Could you have an api so that we could configure this ourselves?

User avatar
Aaron
Site Admin
Posts: 4554
Joined: Thu Jul 12, 2007 12:13 am

Re: DNS SRV Records

Post by Aaron » Sun Apr 09, 2017 9:29 am

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.

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest