Skip to the content.

Interface: SSHFPRecord

Defined in: src/types.ts:644

SSHFP record - SSH Public Key Fingerprint, used to publish SSH host key fingerprints in DNS.

Example

const record: SSHFPRecord = {
  type: "SSHFP",
  algorithm: 4, // Ed25519
  fpType: 2, // SHA-256
  fingerprint: "abcdef1234567890abcdef1234567890abcdef12",
  ttl: 3600,
};

Extends

Properties

ttl?

optional ttl?: number;

Defined in: src/types.ts:76

Time to live in seconds (optional)

Inherited from

BaseDNSRecord.ttl


algorithm

algorithm: number;

Defined in: src/types.ts:646

SSH public key algorithm


fingerprint

fingerprint: string;

Defined in: src/types.ts:648

Hexadecimal fingerprint


fpType

fpType: number;

Defined in: src/types.ts:650

Fingerprint type


type

type: "SSHFP";

Defined in: src/types.ts:651

The type of DNS record

Overrides

BaseDNSRecord.type