{"id":601,"date":"2014-03-27T11:28:05","date_gmt":"2014-03-27T10:28:05","guid":{"rendered":""},"modified":"2018-11-01T00:04:29","modified_gmt":"2018-10-31T23:04:29","slug":"setting-dns-records-kamailio-4x-platform","status":"publish","type":"post","link":"https:\/\/nil.uniza.sk\/en\/setting-dns-records-kamailio-4x-platform\/","title":{"rendered":"Setting up DNS records for Kamailio 4.x platform"},"content":{"rendered":"<p>\n\tOur IMS clients will use DNS service to resolve which transport protocol to preferr and which server provides that SIP service. Therefore we need for this purpose working DNS server with valid delegated zones. In our case we are administrating own DNS zone named ims1.sip.uniza.sk. So we will add required resource records, first we add NAPTR records and then valid SRV and A records<\/p>\n<p>\n\tSo, prepare your DNS records, in our case:<\/p>\n<pre>\r\n$ORIGIN ims1.sip.uniza.sk.\r\n@               NAPTR 30 100 &quot;S&quot; &quot;SIP+D2U&quot; &quot;&quot; _sip._udp.pcscf.ims1.sip.uniza.sk.\r\n@               NAPTR 20 100 &quot;S&quot; &quot;SIP+D2T&quot; &quot;&quot; _sip._tcp.pcscf.ims1.sip.uniza.sk.\r\n@               NAPTR 10 100 &quot;S&quot; &quot;SIP+D2T&quot; &quot;&quot; _sip._tcp.pcscf.ims1.sip.uniza.sk.\r\npcscf           IN      A       158.193.139.40\r\n_sip.pcscf      IN      SRV 0 0 5060 pcscf\r\n_sip._udp.pcscf IN      SRV 0 0 5060 pcscf\r\n_sip._tcp.pcscf IN      SRV 0 0 5060 pcscf\r\n_sips._tcp.pcscfIN     SRV 0 0 5060 pcscf\r\nicscf           IN      A       158.193.139.41\r\n_sip            IN      SRV 0 0 5060 icscf\r\n_sip._udp       IN      SRV 0 0 5060 icscf\r\n_sip._tcp       IN      SRV 0 0 5060 icscf\r\nscscf           IN      A       158.193.139.42\r\n_sip.scscf      IN      SRV 0 0 5060 scscf\r\n_sip._udp.scscf IN      SRV 0 0 5060 scscf\r\n_sip._tcp.scscf IN      SRV 0 0 5060 scscf\r\nhss             IN      A       158.193.139.43\r\npresence        IN      A   <span class=\"Apple-tab-span\"> <\/span> 158.193.139.37<\/pre>\n<div>\n\t&nbsp;<\/div>","protected":false},"excerpt":{"rendered":"<p>\n\tOur IMS clients will use DNS service to resolve which transport protocol to preferr and which server provides that SIP service. Therefore we need for this purpose working DNS server with valid delegated zones. In our case we are administrating own DNS zone named ims1.sip.uniza.sk. So we will add required resource records, first we add NAPTR records and then valid SRV and A records<\/p>\n<p>\n\tSo, prepare your DNS records, in our case:<\/p>","protected":false},"author":7,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_seopress_robots_primary_cat":"","_seopress_titles_title":"","_seopress_titles_desc":"","_seopress_robots_index":"","_kad_blocks_custom_css":"","_kad_blocks_head_custom_js":"","_kad_blocks_body_custom_js":"","_kad_blocks_footer_custom_js":"","_kad_post_transparent":"","_kad_post_title":"","_kad_post_layout":"","_kad_post_sidebar_id":"","_kad_post_content_style":"","_kad_post_vertical_padding":"","_kad_post_feature":"","_kad_post_feature_position":"","_kad_post_header":false,"_kad_post_footer":false,"footnotes":""},"categories":[731],"tags":[],"class_list":["post-601","post","type-post","status-publish","format-standard","hentry","category-ngn-ims-kamailio"],"taxonomy_info":{"category":[{"value":731,"label":"Kamailio IMS"}]},"featured_image_src_large":false,"author_info":{"display_name":"admin","author_link":"https:\/\/nil.uniza.sk\/en\/author\/admin\/"},"comment_info":2,"category_info":[{"term_id":731,"name":"Kamailio IMS","slug":"ngn-ims-kamailio","term_group":0,"term_taxonomy_id":729,"taxonomy":"category","description":"","parent":729,"count":16,"filter":"raw","cat_ID":731,"category_count":16,"category_description":"","cat_name":"Kamailio IMS","category_nicename":"ngn-ims-kamailio","category_parent":729}],"tag_info":false,"_links":{"self":[{"href":"https:\/\/nil.uniza.sk\/en\/wp-json\/wp\/v2\/posts\/601","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/nil.uniza.sk\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/nil.uniza.sk\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/nil.uniza.sk\/en\/wp-json\/wp\/v2\/users\/7"}],"replies":[{"embeddable":true,"href":"https:\/\/nil.uniza.sk\/en\/wp-json\/wp\/v2\/comments?post=601"}],"version-history":[{"count":0,"href":"https:\/\/nil.uniza.sk\/en\/wp-json\/wp\/v2\/posts\/601\/revisions"}],"wp:attachment":[{"href":"https:\/\/nil.uniza.sk\/en\/wp-json\/wp\/v2\/media?parent=601"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/nil.uniza.sk\/en\/wp-json\/wp\/v2\/categories?post=601"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/nil.uniza.sk\/en\/wp-json\/wp\/v2\/tags?post=601"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}