NAPTR

Naming Authority Pointer

Protocol →
Introduced in Rel-13

NAPTR is a DNS resource record used for dynamic delegation and service discovery, enabling the mapping of domain names to URIs and utilized in 3GPP for ENUM and IMS service selection like SIP call routing.

Category
Protocol
Introduced
Rel-13
Where
Core Network › 5G Core
Specifications
3 specs
NAPTR Description Purpose Related Classification Detected Changes Specifications

Description

The NAPTR (Naming Authority Pointer) record is a type of DNS resource record defined in RFC 3403. It provides a mechanism for rewriting domain names into URIs or other domain names through a set of ordered rules. Each NAPTR record contains several fields: order, preference, flags, services, regexp, and replacement. The order field determines the sequence in which records are processed, while preference allows for load balancing among records of the same order. Flags indicate the next step after the rewrite (e.g., 'S' for SRV lookup, 'A' for A/AAAA lookup, 'U' for URI). The services field specifies the protocol and service applicable (e.g., 'E2U+sip' for SIP ENUM). The regexp field contains a regular expression pattern for rewriting the input string, and the replacement field provides a domain name for further DNS queries if regexp is not used. In 3GPP, NAPTR is primarily used in the IP Multimedia Subsystem (IMS) for ENUM lookups, where E.164 telephone numbers are translated into SIP URIs by querying DNS with a domain derived from the number. This enables inter-operator routing and service discovery. The process involves iterative DNS queries: first, a NAPTR query returns records with service parameters; based on the flags, subsequent SRV or A/AAAA queries are performed to resolve the actual endpoint. This flexible mechanism supports dynamic service selection and protocol negotiation, which is crucial for IMS interoperability and multimedia service delivery.

Purpose & Motivation

NAPTR was adopted in 3GPP to address the need for flexible and dynamic service discovery and routing in all-IP networks, particularly within IMS. As telecommunications moved towards SIP-based multimedia services, there was a requirement to map telephone numbers (E.164) to IP-based addresses (URIs) efficiently. Traditional static routing or hard-coded mappings were insufficient for scalable, multi-vendor environments. NAPTR, as part of the DNS framework, provides a standardized way to perform this mapping through DNS queries, enabling operators to delegate authority and configure complex routing rules. It solves problems related to number portability, service selection (e.g., choosing between SIP, tel, or other protocols), and load balancing across multiple servers. Its use in ENUM facilitates global interconnection of VoIP and IMS networks, replacing legacy circuit-switched routing with DNS-based lookups.

Classification

Part ofDNS
Related approachesENUMSIPIMS

Release Timeline

Detected Changes Across Releases

from 3GPP Change Requests

Specific changes extracted from the „Change history“ tables of 3GPP specifications (1 CRs across 1 releases). Complements the general historical overview above with the evidence-based evolution of this function.

Rel-18 1 change

In Release 18, the primary update for the NAPTR function was an editorial correction to fix an unspecified subclause number and to formally add the abbreviation "NAPTR" within the specification text. The technical procedures for using DNS NAPTR queries, such as constructing and using the Visited Country FQDN for SNPN N3IWF selection or for determining support for emergency services via N3IWF or ePDG, remained substantively unchanged from earlier releases. This change ensured clarity and correct referencing within the normative procedures.

  • Fix the unspecified subclause number and add abbreviation for NAPTR TS 24.502CR0254

Explore further

Broader topics and technologies where NAPTR plays a role.

Defining Specifications

3GPP specifications that define or reference NAPTR, with the latest known release. Sourced from the 3GPP document catalog — see methodology.

SpecificationTitleRelease
TS 24.502 vj20 5G Core Access via Non-3GPP Networks; Stage 3 Rel-19
TS 29.819 vd00 Diameter Base Protocol Update Analysis Rel-13
TS 34.229 vj21 IMS SIP/SDP UE Conformance Testing for 5GS Rel-19
Patrick Zandl

About the author: Patrick Zandl (b. 1974)

Telecommunications specialist, technology journalist (founder of the Mobil server), and developer who has been running since 2025 — the largest Czech-language resource on AI-assisted programming. Formerly Chief Wizard Architect at Prusa3D and head of development for Turris at CZ.NIC; currently a consultant and instructor on AI implementation in companies.