Skip to the content.

Interface: NAPTRRecord

Defined in: types.ts:340

NAPTR record - Naming Authority Pointer.

Used for mapping services to domain names, often in ENUM and SIP applications.

Example

const record: NAPTRRecord = {
    type: "NAPTR",
    order: 100,
    preference: 50,
    flags: "u",
    service: "E2U+sip",
    regexp: "!^.*$!sip:info@example.com!",
    replacement: "",
    ttl: 3600,
};

Extends

Properties

ttl?

optional ttl?: number

Defined in: types.ts:76

Time to live in seconds (optional)

Inherited from

BaseDNSRecord.ttl


flags

flags: string

Defined in: types.ts:342

Flags controlling processing


order

order: number

Defined in: types.ts:344

Order value for processing sequence


preference

preference: number

Defined in: types.ts:346

Preference value within same order


regexp

regexp: string

Defined in: types.ts:348

Regular expression for URI construction


replacement

replacement: string

Defined in: types.ts:350

Replacement domain name


service

service: string

Defined in: types.ts:352

Service parameters


type

type: "NAPTR"

Defined in: types.ts:353

The type of DNS record

Overrides

BaseDNSRecord.type