Skip to the content.

Interface: PTRRecord

Defined in: src/types.ts:488

PTR record - Maps an IP address to a domain name (reverse DNS).

Example

const record: PTRRecord = {
  type: "PTR",
  value: "host.example.com",
  ttl: 300,
};

Extends

Properties

ttl?

optional ttl?: number;

Defined in: src/types.ts:76

Time to live in seconds (optional)

Inherited from

BaseDNSRecord.ttl


type

type: "PTR";

Defined in: src/types.ts:489

The type of DNS record

Overrides

BaseDNSRecord.type


value

value: string;

Defined in: src/types.ts:491

Domain name