Interface: DNSKEYRecord
Defined in: types.ts:155
DNSKEY record - Contains a public key used for DNSSEC validation.
Example
const record: DNSKEYRecord = {
type: "DNSKEY",
flags: 257, // Key Signing Key
protocol: 3,
algorithm: 8, // RSA/SHA-256
publicKey: "AwEAAag/59Q...",
ttl: 86400,
};
Extends
Properties
ttl?
optionalttl?:number
Defined in: types.ts:76
Time to live in seconds (optional)
Inherited from
algorithm
algorithm:
number
Defined in: types.ts:157
Cryptographic algorithm number
flags
flags:
number
Defined in: types.ts:159
Flags field (bit 7 = Zone Key, bit 15 = Secure Entry Point)
protocol
protocol:
number
Defined in: types.ts:161
Protocol field (always 3 for DNSSEC)
publicKey
publicKey:
string
Defined in: types.ts:163
Base64-encoded public key
type
type:
"DNSKEY"
Defined in: types.ts:164
The type of DNS record