Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 15th July 2012, 17:00
rogeriosjr rogeriosjr is offline
Junior Member
 
Join Date: Oct 2010
Posts: 16
Thanks: 0
Thanked 1 Time in 1 Post
Default How configure SRV DNS record with these options

I need to configure a SRV DNS Record with these options:

Type: SRV
Service: _sipfederationtls
Protocol: _tcp
Port: 5061
Weight: 1
Priority: 100
TTL: 3600
Hostname: domainname.com.
Server Record: sipfed.online.lync.com.


How can I do this in ISPConfig 3 ?

Regards,

Rogerio.
Reply With Quote
Sponsored Links
  #2  
Old 16th July 2012, 15:54
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
 
Default

This is explained in the ISPConfig 3 Manual:

Quote:
SRV Records

Server location. SRV records specify the location of the server(s) for a specific protocol and domain. The Server Record field must contain three space-separated values. The first value is a number specifying the weight for this entry. The second field is a number specifying the port on the target host of this service. The last field is a name specifying the target host. The Priority field should contain the priority of this target host. Targets with a lower priority are preferred.

Some protocols such as SIP and XMPP require SRV records. SRV records have the form

_service._proto.name TTL class SRV priority weight port target

service: The symbolic name of the desired service.
proto: The transport protocol of the desired service; this is usually either TCP or UDP.
name: The domain name for which this record is valid.
TTL: The time interval (in seconds) that this record may be cached before the source of the information should again be consulted. Zero values are interpreted to mean that the record can only be used for the transaction in progress, and should not be cached.
class: Standard DNS class field (this is always IN).
priority: The priority of the target host, lower value means more preferred (similar to MX records).
weight: A relative weight for records with the same priority.
port: The TCP or UDP port on which the service is to be found.
target: The canonical hostname of the machine providing the service.

E.g.

_sip._tcp.example.com. 86400 IN SRV 0 5 5060 sipserver.example.com.

SRV records allow you to achieve a basic form of high-availability and load-balancing (basic because information is static, i.e., current server loads are not taken into account). The priority field is similar the the one of MX record - clients use the server with the lowest priority value first and use other servers only if this server fails. This means oyu can have multiple SRV records and define a fallback server that is used only if the primary server fails by giving the fallback server a higher priority value than the primary server.

If there are multiple SRV records with the same priority, clients use the weight field to find out which host to use. The weight value is relevant only in among records with the same priority.

Here's an example of basic high-availability and load-balancing with SRV records:

_sip._tcp.example.com. 86400 IN SRV 10 60 5060 server1.example.com.
_sip._tcp.example.com. 86400 IN SRV 10 40 5060 server2.example.com.
_sip._tcp.example.com. 86400 IN SRV 20 0 5060 server3.example.com.

In the above example, both server1.example.com and server2.example.com have a priority value of 10, so all requests will be shared by them, where server1.example.com gets 60% of the requests and server2.example.com gets the remaining 40% of the requests (because server1.example.com has a weight value of 60 and server2.example.com has a weight value of 40). If server1.example.com fails, all requests will go to server2.example.com. If both server1.example.com and server2.example.com fail, all requests will go to server3.example.com which has a priority value of 20.

For more information, read RFC 2782 and SRV Records on Wikipedia.

The form has the following fields:

Hostname: The name that this record describes. This field can contain an FQDN or just a hostname. If you specify an FQDN, the name must end with a dot; if you specify just a hostname, it must not end with a dot.

Examples:
_sip._tcp.example.com.
_sip._tcp
Server Record: The Server Record field must contain three space-separated values. The first value is a number specifying the weight for this entry. The second field is a number specifying the port on the target host of this service. The last field is a name specifying the target host. The target host can be an FQDN or just a hostname. If you specify an FQDN, the name must end with a dot; if you specify just a hostname, it must not end with a dot.

Examples:
0 9 server.example.com. (FQDN)
0 9 server (hostname only)
Priority: The Priority field should contain a preference for this SRV record, usually between 0 and 100. Records with lower values are preferred.
TTL: The time interval (in seconds) that this record may be cached before the source of the information should again be consulted. Zero values are interpreted to mean that the record can only be used for the transaction in progress, and should not be cached.
Active: This defines whether this SRV record is active or not.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
The Following User Says Thank You to falko For This Useful Post:
oriongr (27th May 2014)
Reply

Bookmarks

Tags
dns, isp config 3, srv records

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Postfix delivery problem erebus Installation/Configuration 8 29th July 2014 20:17
srv record for office 365 Hans.promanagement General 6 28th April 2013 13:53
Ubuntu 10.04 VS ISPConfig 2.2.37 Bicet Installation/Configuration 7 9th March 2011 15:58
E-mail server receive and send spams Mole Installation/Configuration 12 19th April 2010 11:03
own DNS, 1 IP,... Options? TheRudy General 4 24th May 2006 18:27


All times are GMT +2. The time now is 10:42.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.