record:dnskey : DNS DNSKEY record object.

The DNSKEY resource record stores public keys for the DNSSEC authentication process. The DNSKEY records are generated automatically when the corresponding authoritative zone is signed. The DNSKEY resource record object is read-only.

The DNSKEY resource record is defined in RFC 4034.

Object Reference

References to record:dnskey are object references. The name part of a DNS DNSKEY object reference has the following components:

  • The name of the record.
  • The name of the view.

Example: record:dnskey/ZG5zLmJpsaG9zdA:us.example.com/default.external

Restrictions

The object does not support the following operations:

  • Create (insert)
  • Delete
  • Modify (update)
  • Scheduling

The object cannot be managed on Cloud Platform members.

Fields

These fields are actual members of the object; thus, they can be requested by using _return_fields, if the fields are readable.

The basic version of the object contains the field(s): name, view.

algorithm

algorithm

The public key encryption algorithm of a DNSKEY Record object.

Type

String.

Valid values are:
  • DSA
  • ECDSAP256SHA256
  • ECDSAP384SHA384
  • NSEC3DSA
  • NSEC3RSASHA1
  • RSAMD5
  • RSASHA1
  • RSASHA256
  • RSASHA512

Search

The field is available for search via

  • ‘=’ (exact equality)

Notes

The algorithm cannot be updated.

algorithm cannot be written.

comment

comment

The comment for the record.

Type

String.

Values with leading or trailing white space are not valid for this field.

Search

The field is available for search via

  • ‘:=’ (case insensitive search)
  • ‘=’ (exact equality)
  • ‘~=’ (regular expression)

Notes

The comment cannot be updated.

comment cannot be written.

creation_time

creation_time

The creation time of the record.

Type

Timestamp.

Search

The field is not available for search.

Notes

The creation_time cannot be updated.

creation_time cannot be written.

creator

creator

The record creator.

Type

String.

Valid values are:
  • SYSTEM

Search

The field is available for search via

  • ‘=’ (exact equality)

Notes

The creator cannot be updated.

creator cannot be written.

dns_name

dns_name

Name of a DNSKEY record in punycode format.

Type

String.

Values with leading or trailing white space are not valid for this field.

Search

The field is not available for search.

Notes

The dns_name cannot be updated.

dns_name cannot be written.

flags

flags

The flags field is a 16-bit unsigned integer. Currently, only two bits of this value are used: the least significant bit and bit 7. The other bits are reserved for future use and must be zero. If bit 7 is set to 1, the key is a DNS zone key. Otherwise, the key is not a zone key and cannot be used to verify zone data. The least significant bit indicates “secure entry point property”. If it is not zero, the key is a key signing key (KSK type). Otherwise, the key type is ZSK.

Type

Integer.

Search

The field is available for search via

  • ‘=’ (exact equality)

Notes

The flags cannot be updated.

flags cannot be written.

key_tag

key_tag

The key tag identifying the public key of a DNSKEY Record object.

Type

Unsigned integer.

Search

The field is available for search via

  • ‘=’ (exact equality)
  • ‘<=’ (less than search)
  • ‘>=’ (greater than search)

Notes

The key_tag cannot be updated.

key_tag cannot be written.

last_queried

last_queried

The time of the last DNS query in Epoch seconds format.

Type

Timestamp.

Search

The field is not available for search.

Notes

The last_queried cannot be updated.

last_queried cannot be written.

name

name

The name of the DNSKEY record in FQDN format. It has to be the same as the zone, where the record resides.

Type

String.

Search

The field is available for search via

  • ‘:=’ (case insensitive search)
  • ‘=’ (exact equality)
  • ‘~=’ (regular expression)

Notes

The name is part of the base object.

The name cannot be updated.

name cannot be written.

public_key

public_key

The public key. The format of the returned value depends on the key algorithm.

Type

String.

Search

The field is available for search via

  • ‘=’ (exact equality)
  • ‘~=’ (regular expression)

Notes

The public_key cannot be updated.

public_key cannot be written.

ttl

ttl

The Time To Live (TTL) value for the record. A 32-bit unsigned integer that represents the duration, in seconds, for which the record is valid (cached). Zero indicates that the record should not be cached.

Type

Unsigned integer.

Search

The field is not available for search.

Notes

ttl is associated with the field use_ttl (see use flag).

The ttl cannot be updated.

ttl cannot be written.

use_ttl

use_ttl

Use flag for: ttl

Type

Bool.

Search

The field is not available for search.

Notes

The use_ttl cannot be updated.

use_ttl cannot be written.

view

view

The name of the DNS View in which the record resides. Example: “external”.

Type

String.

Values with leading or trailing white space are not valid for this field.

Search

The field is available for search via

  • ‘=’ (exact equality)

Notes

The view is part of the base object.

The view cannot be updated.

view cannot be written.

zone

zone

The name of the zone in which the record resides. Example: “zone.com”. If a view is not specified when searching by zone, the default view is used.

Type

String.

Values with leading or trailing white space are not valid for this field.

Search

The field is available for search via

  • ‘=’ (exact equality)

Notes

The zone cannot be updated.

zone cannot be written.

Fields List

Field Type Req R/O Base Search
algorithm String N Y N =
comment String N Y N : = ~
creation_time Timestamp N Y N N/A
creator String N Y N =
dns_name String N Y N N/A
flags Integer N Y N =
key_tag Unsigned int N Y N < = >
last_queried Timestamp N Y N N/A
name String N Y Y : = ~
public_key String N Y N = ~
ttl Unsigned int N Y N N/A
use_ttl Bool N Y N N/A
view String N Y Y =
zone String N Y N =