{"id":100,"date":"2021-04-21T08:37:00","date_gmt":"2021-04-21T08:37:00","guid":{"rendered":"https:\/\/www.dns.computer\/blog\/?p=100"},"modified":"2026-09-01T07:20:11","modified_gmt":"2026-09-01T07:20:11","slug":"naptr-record-explained","status":"publish","type":"post","link":"https:\/\/www.dns.computer\/blog\/naptr-record-explained\/","title":{"rendered":"NAPTR record explained"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">The NAPTR records are not as commonly used as A DNS records, but they have an important purpose: linking servers and users\u2019 addresses in SIP.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">What is the NAPTR record?<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">NAPTR DNS record is a Name Authority Pointer record. It is a type of DNS record that serves to map servers to the users\u2019 addresses in the so-called Session Initiation Protocol or SIP for short. The NAPTR records, together with another type of DNS record called SRV records (service records), allow complex rewriting of rules that provide new uniform resource identifiers (URIs) or domain labels. Depending on the flag of the newly created URI or domain label, it could be used in the following query for a NAPTR record or directly as an output of the entire process for URI mapping.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/www.cloudns.net\/wiki\/article\/189\/\" target=\"_blank\" rel=\"noreferrer noopener\">How to create a NAPTR record?<\/a><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The existence of NAPTR record allows lookup of services for many different resource names like URIs, which are not a part of domain name syntax.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">If you want to read all the available information, you can see its RFC file (<a href=\"https:\/\/tools.ietf.org\/html\/rfc2915\" target=\"_blank\" rel=\"noreferrer noopener\">RFC 2915<\/a>).<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Why do we need a NAPTR record?<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">NAPTR records work together with SIP, with the SRV records involved, too, to see what kind of services are there for a domain name. When somebody performs a query for the NAPTR records, this person will see the protocols and ports that you use, if your domain name supports&nbsp;<a href=\"https:\/\/en.wikipedia.org\/wiki\/Session_Initiation_Protocol\" target=\"_blank\" rel=\"noreferrer noopener\">SIP<\/a>, or any other VoIP service, and more.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">What\u2019s inside a NAPTR record<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The values that you can see inside a DNS NAPTR records are:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>TYPE<\/strong>: NAPTR or its code, which is 35<\/li>\n\n\n\n<li><strong>Domain name<\/strong>: the hostname to which it belongs. It is the key for the rule database.<\/li>\n\n\n\n<li><strong>TTL<\/strong>: <a href=\"https:\/\/www.dns.computer\/blog\/what-is-dns-ttl-and-why-does-it-matter\/\" target=\"_blank\" rel=\"noreferrer noopener\">Time to live<\/a> for the DNS record<\/li>\n\n\n\n<li><strong>Order:<\/strong>&nbsp;It is a number (16-bit unsigned integer) that shows the order by which the NAPTR records must be processed to obey the rules properly. Lower numbers go first. If the values are the same, for two or more NAPTR records, the order is determined by the preference values.<\/li>\n\n\n\n<li><strong>Preference:<\/strong>&nbsp;It is a value (16-bit unsigned integer) that determines NAPTR records\u2019 order with the same order number. Again, lower numbers go first. The difference with the Order number is that Preference gives weight to rules, which are otherwise equal.&nbsp;<\/li>\n\n\n\n<li><strong>Flags:<\/strong>&nbsp;The flags are written with letters. There are only 4 for now: S, A, U, and P. What they indicate is if there will be a next lookup or no, and what should follow.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\"><em>S: The next lookup, should be for the SRV record.<\/em><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><em>A: The next lookup, should be for the A, AAAA, or A6 records.<\/em><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><em>U: The next will be URI output.<\/em><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><em>P: Stands for the protocol and shows that the next step will be determined by the protocol.<\/em><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Service: Sets the service or services down the rewrite path. It could also be a specific protocol that is used for a service.&nbsp;&nbsp;<\/li>\n\n\n\n<li>Regular expression: Also written Regexp is a string that gets attached to the original string to construct the next domain name for a lookup. It should connect the string from the client, not from a previous NAPTR record.&nbsp;&nbsp;<\/li>\n\n\n\n<li>Replacement: Depending on the flag, what is the next name (fully qualified domain name) to query for NAPTR, SRV, or another record.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Conclusion<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The NAPTR record is not that simple as other DNS records, but you will need to understand it in order to apply it for VoIP services properly.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The NAPTR records are not as commonly used as A DNS records, but they have an important purpose: linking servers and users\u2019 addresses in SIP. What is the NAPTR record? NAPTR DNS record is a Name Authority Pointer record. It is a type of DNS record that serves to map servers to the users\u2019 addresses &#8230; <a href=\"https:\/\/www.dns.computer\/blog\/naptr-record-explained\/\" class=\"more-link\">Read More<span class=\"screen-reader-text\"> &#8220;NAPTR record explained&#8221;<\/span> &raquo;<\/a><\/p>\n","protected":false},"author":1,"featured_media":101,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7,6],"tags":[9,37,71,72,70],"class_list":["post-100","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-dns","category-dns-records","tag-dns","tag-dns-record","tag-naptr-record","tag-sip","tag-srv-record"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.7 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>NAPTR record explained - DNS.COMPUTER\/blog<\/title>\n<meta name=\"description\" content=\"NAPTR record is a Name Authority Pointer record. It is a type of DNS record that serves to map servers to the users\u2019 addresses in the SIP.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.dns.computer\/blog\/naptr-record-explained\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"NAPTR record explained - DNS.COMPUTER\/blog\" \/>\n<meta property=\"og:description\" content=\"NAPTR record is a Name Authority Pointer record. It is a type of DNS record that serves to map servers to the users\u2019 addresses in the SIP.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.dns.computer\/blog\/naptr-record-explained\/\" \/>\n<meta property=\"og:site_name\" content=\"dns.computer\" \/>\n<meta property=\"article:published_time\" content=\"2021-04-21T08:37:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-09-01T07:20:11+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.dns.computer\/blog\/wp-content\/uploads\/2026\/07\/NAPTR-record.png\" \/>\n\t<meta property=\"og:image:width\" content=\"360\" \/>\n\t<meta property=\"og:image:height\" content=\"237\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Beloslava Petrova\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Beloslava Petrova\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.dns.computer\\\/blog\\\/naptr-record-explained\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.dns.computer\\\/blog\\\/naptr-record-explained\\\/\"},\"author\":{\"name\":\"Beloslava Petrova\",\"@id\":\"https:\\\/\\\/www.dns.computer\\\/blog\\\/#\\\/schema\\\/person\\\/0927d914ce2fa5e9b0d8afc8ad45dfcd\"},\"headline\":\"NAPTR record explained\",\"datePublished\":\"2021-04-21T08:37:00+00:00\",\"dateModified\":\"2026-09-01T07:20:11+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.dns.computer\\\/blog\\\/naptr-record-explained\\\/\"},\"wordCount\":584,\"commentCount\":0,\"image\":{\"@id\":\"https:\\\/\\\/www.dns.computer\\\/blog\\\/naptr-record-explained\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.dns.computer\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/07\\\/NAPTR-record.png\",\"keywords\":[\"DNS\",\"DNS record\",\"NAPTR record\",\"SIP\",\"SRV record\"],\"articleSection\":[\"DNS\",\"DNS records\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.dns.computer\\\/blog\\\/naptr-record-explained\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.dns.computer\\\/blog\\\/naptr-record-explained\\\/\",\"url\":\"https:\\\/\\\/www.dns.computer\\\/blog\\\/naptr-record-explained\\\/\",\"name\":\"NAPTR record explained - DNS.COMPUTER\\\/blog\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.dns.computer\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.dns.computer\\\/blog\\\/naptr-record-explained\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.dns.computer\\\/blog\\\/naptr-record-explained\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.dns.computer\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/07\\\/NAPTR-record.png\",\"datePublished\":\"2021-04-21T08:37:00+00:00\",\"dateModified\":\"2026-09-01T07:20:11+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/www.dns.computer\\\/blog\\\/#\\\/schema\\\/person\\\/0927d914ce2fa5e9b0d8afc8ad45dfcd\"},\"description\":\"NAPTR record is a Name Authority Pointer record. It is a type of DNS record that serves to map servers to the users\u2019 addresses in the SIP.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.dns.computer\\\/blog\\\/naptr-record-explained\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.dns.computer\\\/blog\\\/naptr-record-explained\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.dns.computer\\\/blog\\\/naptr-record-explained\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.dns.computer\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/07\\\/NAPTR-record.png\",\"contentUrl\":\"https:\\\/\\\/www.dns.computer\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/07\\\/NAPTR-record.png\",\"width\":360,\"height\":237},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.dns.computer\\\/blog\\\/naptr-record-explained\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.dns.computer\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"NAPTR record explained\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.dns.computer\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.dns.computer\\\/blog\\\/\",\"name\":\"dns.computer\",\"description\":\"Tech Blog\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.dns.computer\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.dns.computer\\\/blog\\\/#\\\/schema\\\/person\\\/0927d914ce2fa5e9b0d8afc8ad45dfcd\",\"name\":\"Beloslava Petrova\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/5c9f7e609b5001471f45aac4704653661aa83bd09be9c6113cee8aaad0282517?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/5c9f7e609b5001471f45aac4704653661aa83bd09be9c6113cee8aaad0282517?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/5c9f7e609b5001471f45aac4704653661aa83bd09be9c6113cee8aaad0282517?s=96&d=mm&r=g\",\"caption\":\"Beloslava Petrova\"},\"description\":\"Hi, I\u2019m Bella, a technology enthusiast who enjoys making complex tech topics clear, practical, and easy to understand. Outside of writing, I love trail running, biking, traveling, and photography.\",\"sameAs\":[\"https:\\\/\\\/bloginternal.dns.computer\",\"https:\\\/\\\/www.linkedin.com\\\/in\\\/beloslava-petrova-4b7037185\\\/\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"NAPTR record explained - DNS.COMPUTER\/blog","description":"NAPTR record is a Name Authority Pointer record. It is a type of DNS record that serves to map servers to the users\u2019 addresses in the SIP.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.dns.computer\/blog\/naptr-record-explained\/","og_locale":"en_US","og_type":"article","og_title":"NAPTR record explained - DNS.COMPUTER\/blog","og_description":"NAPTR record is a Name Authority Pointer record. It is a type of DNS record that serves to map servers to the users\u2019 addresses in the SIP.","og_url":"https:\/\/www.dns.computer\/blog\/naptr-record-explained\/","og_site_name":"dns.computer","article_published_time":"2021-04-21T08:37:00+00:00","article_modified_time":"2026-09-01T07:20:11+00:00","og_image":[{"width":360,"height":237,"url":"https:\/\/www.dns.computer\/blog\/wp-content\/uploads\/2026\/07\/NAPTR-record.png","type":"image\/png"}],"author":"Beloslava Petrova","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Beloslava Petrova","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.dns.computer\/blog\/naptr-record-explained\/#article","isPartOf":{"@id":"https:\/\/www.dns.computer\/blog\/naptr-record-explained\/"},"author":{"name":"Beloslava Petrova","@id":"https:\/\/www.dns.computer\/blog\/#\/schema\/person\/0927d914ce2fa5e9b0d8afc8ad45dfcd"},"headline":"NAPTR record explained","datePublished":"2021-04-21T08:37:00+00:00","dateModified":"2026-09-01T07:20:11+00:00","mainEntityOfPage":{"@id":"https:\/\/www.dns.computer\/blog\/naptr-record-explained\/"},"wordCount":584,"commentCount":0,"image":{"@id":"https:\/\/www.dns.computer\/blog\/naptr-record-explained\/#primaryimage"},"thumbnailUrl":"https:\/\/www.dns.computer\/blog\/wp-content\/uploads\/2026\/07\/NAPTR-record.png","keywords":["DNS","DNS record","NAPTR record","SIP","SRV record"],"articleSection":["DNS","DNS records"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.dns.computer\/blog\/naptr-record-explained\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.dns.computer\/blog\/naptr-record-explained\/","url":"https:\/\/www.dns.computer\/blog\/naptr-record-explained\/","name":"NAPTR record explained - DNS.COMPUTER\/blog","isPartOf":{"@id":"https:\/\/www.dns.computer\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.dns.computer\/blog\/naptr-record-explained\/#primaryimage"},"image":{"@id":"https:\/\/www.dns.computer\/blog\/naptr-record-explained\/#primaryimage"},"thumbnailUrl":"https:\/\/www.dns.computer\/blog\/wp-content\/uploads\/2026\/07\/NAPTR-record.png","datePublished":"2021-04-21T08:37:00+00:00","dateModified":"2026-09-01T07:20:11+00:00","author":{"@id":"https:\/\/www.dns.computer\/blog\/#\/schema\/person\/0927d914ce2fa5e9b0d8afc8ad45dfcd"},"description":"NAPTR record is a Name Authority Pointer record. It is a type of DNS record that serves to map servers to the users\u2019 addresses in the SIP.","breadcrumb":{"@id":"https:\/\/www.dns.computer\/blog\/naptr-record-explained\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.dns.computer\/blog\/naptr-record-explained\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.dns.computer\/blog\/naptr-record-explained\/#primaryimage","url":"https:\/\/www.dns.computer\/blog\/wp-content\/uploads\/2026\/07\/NAPTR-record.png","contentUrl":"https:\/\/www.dns.computer\/blog\/wp-content\/uploads\/2026\/07\/NAPTR-record.png","width":360,"height":237},{"@type":"BreadcrumbList","@id":"https:\/\/www.dns.computer\/blog\/naptr-record-explained\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.dns.computer\/blog\/"},{"@type":"ListItem","position":2,"name":"NAPTR record explained"}]},{"@type":"WebSite","@id":"https:\/\/www.dns.computer\/blog\/#website","url":"https:\/\/www.dns.computer\/blog\/","name":"dns.computer","description":"Tech Blog","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.dns.computer\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.dns.computer\/blog\/#\/schema\/person\/0927d914ce2fa5e9b0d8afc8ad45dfcd","name":"Beloslava Petrova","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/5c9f7e609b5001471f45aac4704653661aa83bd09be9c6113cee8aaad0282517?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/5c9f7e609b5001471f45aac4704653661aa83bd09be9c6113cee8aaad0282517?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/5c9f7e609b5001471f45aac4704653661aa83bd09be9c6113cee8aaad0282517?s=96&d=mm&r=g","caption":"Beloslava Petrova"},"description":"Hi, I\u2019m Bella, a technology enthusiast who enjoys making complex tech topics clear, practical, and easy to understand. Outside of writing, I love trail running, biking, traveling, and photography.","sameAs":["https:\/\/bloginternal.dns.computer","https:\/\/www.linkedin.com\/in\/beloslava-petrova-4b7037185\/"]}]}},"_links":{"self":[{"href":"https:\/\/www.dns.computer\/blog\/wp-json\/wp\/v2\/posts\/100","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.dns.computer\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.dns.computer\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.dns.computer\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.dns.computer\/blog\/wp-json\/wp\/v2\/comments?post=100"}],"version-history":[{"count":2,"href":"https:\/\/www.dns.computer\/blog\/wp-json\/wp\/v2\/posts\/100\/revisions"}],"predecessor-version":[{"id":282,"href":"https:\/\/www.dns.computer\/blog\/wp-json\/wp\/v2\/posts\/100\/revisions\/282"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.dns.computer\/blog\/wp-json\/wp\/v2\/media\/101"}],"wp:attachment":[{"href":"https:\/\/www.dns.computer\/blog\/wp-json\/wp\/v2\/media?parent=100"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.dns.computer\/blog\/wp-json\/wp\/v2\/categories?post=100"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.dns.computer\/blog\/wp-json\/wp\/v2\/tags?post=100"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}