Skip to the content.

Interface: NSECRecord

Defined in: src/types.ts:442

NSEC record - Next Secure, used for authenticated denial of existence in DNSSEC.

Example

const record: NSECRecord = {
  type: "NSEC",
  nextDomainName: "b.example.com",
  typeBitmaps: "A NS SOA MX RRSIG NSEC DNSKEY",
  ttl: 86400,
};

Extends

Properties

ttl?

optional ttl?: number;

Defined in: src/types.ts:76

Time to live in seconds (optional)

Inherited from

BaseDNSRecord.ttl


nextDomainName

nextDomainName: string;

Defined in: src/types.ts:444

Next domain name in canonical ordering


type

type: "NSEC";

Defined in: src/types.ts:445

The type of DNS record

Overrides

BaseDNSRecord.type


typeBitMaps

typeBitMaps: string[];

Defined in: src/types.ts:447

Array of record types that exist at this name


types?

optional types?: string[];

Defined in: src/types.ts:449

Deprecated

Use typeBitMaps instead