{"id":576,"date":"2012-02-01T02:47:00","date_gmt":"2012-02-01T08:47:00","guid":{"rendered":"http:\/\/blog.supportpro.com\/?p=576"},"modified":"2018-10-04T05:29:06","modified_gmt":"2018-10-04T11:29:06","slug":"adding-srv-records-in-dns","status":"publish","type":"post","link":"https:\/\/www.supportpro.com\/blog\/adding-srv-records-in-dns\/","title":{"rendered":"ADDING SRV RECORDS IN DNS"},"content":{"rendered":"<p>SRV record is called Service record and it is used to defining location in a DNS especially the hostname and port number, of servers for specified services. It is defined in RFC 2782, and its type code is 33. Internet protocols like SIP, XMPP will require SRV support by network elements.<\/p>\n<p>To add the SRV record looking like:<\/p>\n<p><strong>_service._protocol.name TTL class SRV priority weight port target<\/strong><\/p>\n<p>Examples:-<\/p>\n<p>_sipfederationtls._tcp 3600 IN SRV 1 100 5061 sipfed.example.com.<\/p>\n<p>_sip._tcp 3600 IN SRV 1 100 443 sipdir.example.com.<\/p>\n<p><strong>Service <\/strong><\/p>\n<p>Defines the symbolic service name<\/p>\n<p>_http &#8211; web service<\/p>\n<p>_ftp &#8211; file transfer service<\/p>\n<p>_ldap &#8211; LDAP service<\/p>\n<p>_imap &#8211; IMAP mail service<\/p>\n<p>_PKIXREP &#8211; PKIX Repository (X.509 certificates)<\/p>\n<p><strong>Protocol<\/strong><\/p>\n<p>The transport protocol of the desired service<\/p>\n<p>_tcp &#8211; TCP protocol<\/p>\n<p>_udp &#8211; UDP protocol<\/p>\n<p><strong>name<\/strong><\/p>\n<p>the domain name for which this record is valid.<\/p>\n<p><strong>ttl <\/strong><\/p>\n<p>Optional. Standard TTL parameter<\/p>\n<p><strong>class<\/strong><\/p>\n<p>Optional. Standard CLASS parameter<\/p>\n<p><strong>priority<\/strong><\/p>\n<p>The relative Priority of this service (range 0 &#8211; 65535). Lowest is highest priority, usage is the same as the MX pref field.<\/p>\n<p><strong>weight<\/strong><\/p>\n<p>A relative weight for records with the same priority.Used when more than one service has the same priority. A 16 bit unsigned integer in the range 0 &#8211; 65535. The value 0 indicates no weighting should be applied.<\/p>\n<p><strong>port<\/strong><\/p>\n<p>the TCP or UDP port on which the service is to be found.<\/p>\n<p><strong>target<\/strong><\/p>\n<p>the canonical hostname of the machine providing the service.<\/p>\n<p>If you require help, <a href=\"https:\/\/www.supportpro.com\/requestquote.php\">contact SupportPRO Server Admin<\/a><\/p>\n<p style=\"text-align: center;\"><!--HubSpot Call-to-Action Code --><span id=\"hs-cta-wrapper-9d590242-d641-4383-94b4-8cfd62f0af6b\" class=\"hs-cta-wrapper\"><span id=\"hs-cta-9d590242-d641-4383-94b4-8cfd62f0af6b\" class=\"hs-cta-node hs-cta-9d590242-d641-4383-94b4-8cfd62f0af6b\"><!-- [if lte IE 8]><\/p>\n\n\n\n\n\n<div id=\"hs-cta-ie-element\"><\/div>\n\n\n<![endif]--><a href=\"https:\/\/cta-redirect.hubspot.com\/cta\/redirect\/2725694\/9d590242-d641-4383-94b4-8cfd62f0af6b\"><img decoding=\"async\" id=\"hs-cta-img-9d590242-d641-4383-94b4-8cfd62f0af6b\" class=\"hs-cta-img\" style=\"border-width: 0px;\" src=\"https:\/\/no-cache.hubspot.com\/cta\/default\/2725694\/9d590242-d641-4383-94b4-8cfd62f0af6b.png\" alt=\"Server not running properly? Get A FREE Server Checkup By Expert Server Admins - $125 Value\" \/><\/a><\/span><script charset=\"utf-8\" src=\"https:\/\/js.hscta.net\/cta\/current.js\"><\/script><script type=\"text\/javascript\"> hbspt.cta.load(2725694, '9d590242-d641-4383-94b4-8cfd62f0af6b', {}); <\/script><\/span><!-- end HubSpot Call-to-Action Code --><\/p>\n","protected":false},"excerpt":{"rendered":"<p>SRV record is called Service record and it is used to defining location in a DNS especially the hostname and port number, of servers for specified services. It is defined&hellip;<\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_lmt_disableupdate":"","_lmt_disable":"","footnotes":""},"categories":[1],"tags":[],"class_list":["post-576","post","type-post","status-publish","format-standard","hentry","category-miscellaneous"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.supportpro.com\/blog\/wp-json\/wp\/v2\/posts\/576","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.supportpro.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.supportpro.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.supportpro.com\/blog\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.supportpro.com\/blog\/wp-json\/wp\/v2\/comments?post=576"}],"version-history":[{"count":3,"href":"https:\/\/www.supportpro.com\/blog\/wp-json\/wp\/v2\/posts\/576\/revisions"}],"predecessor-version":[{"id":3291,"href":"https:\/\/www.supportpro.com\/blog\/wp-json\/wp\/v2\/posts\/576\/revisions\/3291"}],"wp:attachment":[{"href":"https:\/\/www.supportpro.com\/blog\/wp-json\/wp\/v2\/media?parent=576"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.supportpro.com\/blog\/wp-json\/wp\/v2\/categories?post=576"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.supportpro.com\/blog\/wp-json\/wp\/v2\/tags?post=576"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}