GetRecordsRecord

data class GetRecordsRecord(val domain: String, val flags: Int, val id: Int, val name: String, val port: Int, val priority: Int, val tag: String, val ttl: Int, val type: String, val value: String, val weight: Int)

Constructors

Link copied to clipboard
constructor(domain: String, flags: Int, id: Int, name: String, port: Int, priority: Int, tag: String, ttl: Int, type: String, value: String, weight: Int)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The domain name to search for DNS records

Link copied to clipboard
val flags: Int

An unsigned integer between 0-255 used for CAA records.

Link copied to clipboard
val id: Int

The ID of the record.

Link copied to clipboard

The name of the DNS record.

Link copied to clipboard
val port: Int

The port for SRV records.

Link copied to clipboard

The priority for SRV and MX records.

Link copied to clipboard
val tag: String

The parameter tag for CAA records.

Link copied to clipboard
val ttl: Int

This value is the time to live for the record, in seconds. This defines the time frame that clients can cache queried information before a refresh should be requested.

Link copied to clipboard

The type of the DNS record.

Link copied to clipboard

Variable data depending on record type. For example, the "data" value for an A record would be the IPv4 address to which the domain will be mapped. For a CAA record, it would contain the domain name of the CA being granted permission to issue certificates.

Link copied to clipboard
val weight: Int

The weight for SRV records.