Linode Forum Index Linode Forum
Linode Community Forums
 


DNS SRV

Click here to go to the original topic

 
       Linode Forum Index -> Linux Networking
Author Message
bakko



Joined: 07 Jun 2010
Posts: 6

Posted: Tue Sep 21, 2010 11:26 am    Post subject: DNS SRV  

Hi,

is there anyone that can explain me, step by step, how configure SRV record on the DNS Linode configuration?

Thank you
Back to top  
jed



Joined: 28 Mar 2009
Posts: 394
Location: New Jersey

Posted: Tue Sep 21, 2010 12:17 pm    Post subject:  

What are you trying to do?
Back to top  
bakko



Joined: 07 Jun 2010
Posts: 6

Posted: Tue Sep 21, 2010 12:52 pm    Post subject:  

jed wrote: What are you trying to do?

I have a asterisk PBX on Linode and I'd like to configure a dns srv like

sip.mydomain.com

Thank you

Regards
Back to top  
hoopycat



Joined: 30 Aug 2008
Posts: 1294
Location: Rochester, New York

Posted: Tue Sep 21, 2010 3:04 pm    Post subject:  

You will want something like:

Service: _sip
Protocol: udp
Target: sip.mydomain.com
Priority: 10
Weight: 5
Port: 5060
TTL: Default

You can then verify with:

Code:
$ dig _sip._udp.example.com srv +short
...
_sip._udp.example.com.   86400   IN   SRV   10 5 5060 sip.mydomain.com.
...
Back to top  
bakko



Joined: 07 Jun 2010
Posts: 6

Posted: Tue Sep 21, 2010 4:13 pm    Post subject:  

hoopycat wrote: You will want something like:

Service: _sip
Protocol: udp
Target: sip.mydomain.com
Priority: 10
Weight: 5
Port: 5060
TTL: Default

You can then verify with:

Code:
$ dig _sip._udp.example.com srv +short
...
_sip._udp.example.com.   86400   IN   SRV   10 5 5060 sip.mydomain.com.
...


Thank you for the answer. I have to put also a A record like sip. example.com?

Regards
Back to top  
hoopycat



Joined: 30 Aug 2008
Posts: 1294
Location: Rochester, New York

Posted: Wed Sep 22, 2010 5:33 am    Post subject:  

Yes. Like MX records, SRV records are pointed at names, and the names must have A records.
Back to top  
bakko



Joined: 07 Jun 2010
Posts: 6

Posted: Wed Sep 22, 2010 6:43 am    Post subject: SRV  

Thank you very much hoopycat.

Regards
Back to top  
 
       Linode Forum Index -> Linux Networking
Page 1 of 1