Skip to the content.

Interface: NSEC3Record

Defined in: types.ts:407

NSEC3 record - Next Secure version 3, provides authenticated denial of existence with hashed names.

Example

const record: NSEC3Record = {
    type: "NSEC3",
    hashAlgorithm: 1, // SHA-1
    flags: 0,
    iterations: 12,
    salt: "aabbccdd",
    nextHashedOwnerName: "p0llp5g0r78e008k65jk5u69i5smp0n8",
    typeBitMaps: ["A", "RRSIG"],
    ttl: 86400,
};

Extends

Properties

ttl?

optional ttl?: number

Defined in: types.ts:76

Time to live in seconds (optional)

Inherited from

BaseDNSRecord.ttl


flags

flags: number

Defined in: types.ts:409

Flags field


hashAlgorithm

hashAlgorithm: number

Defined in: types.ts:411

Hash algorithm used


iterations

iterations: number

Defined in: types.ts:413

Number of hash iterations


nextHashedOwnerName

nextHashedOwnerName: string

Defined in: types.ts:415

Next hashed owner name in base32hex


salt

salt: string

Defined in: types.ts:417

Salt value in hexadecimal


type

type: "NSEC3"

Defined in: types.ts:418

The type of DNS record

Overrides

BaseDNSRecord.type


typeBitMaps

typeBitMaps: string[]

Defined in: types.ts:420

Array of record types that exist at this name


types?

optional types?: string[]

Defined in: types.ts:422

Deprecated

Use typeBitMaps instead