DnsRecord class
A representation of a DNS records for a domain.
DNS records are resource records that define how systems and services should
behave when handling requests for a domain. For example, when you add A
records to your domain's DNS records, you're informing other systems (such
as your users' web browsers) to contact those IPv4 addresses to retrieve
resources relevant to your domain (such as your App Hosting files).
Constructors
-
DnsRecord.new({String? domainName, String? rdata, List<
String> ? relevantState, String? requiredAction, String? type}) - DnsRecord.fromJson(Map json_)
Properties
- domainName ↔ String?
-
The domain the record pertains to, e.g.
foo.bar.com.
.getter/setter pair - hashCode → int
-
The hash code for this object.
no setterinherited
- rdata ↔ String?
-
The data of the record.
getter/setter pair
-
relevantState
↔ List<
String> ? -
An enum that indicates which state(s) this DNS record applies to.
getter/setter pair
- requiredAction ↔ String?
-
An enum that indicates the a required action for this record.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- type ↔ String?
-
The record's type, which determines what data the record contains.
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited