Class DnsRecord
DNS records are resource records that define how systems and services should behave when handling requests for a
domain name. For example, when you add A
records to your domain name'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 name (such as your Hosting site files).
Implements
Inherited Members
Namespace: Google.Apis.FirebaseHosting.v1.Data
Assembly: Google.Apis.FirebaseHosting.v1.dll
Syntax
public class DnsRecord : IDirectResponseSchema
Properties
DomainName
Output only. The domain name the record pertains to, e.g. foo.bar.com.
.
Declaration
[JsonProperty("domainName")]
public virtual string DomainName { get; set; }
Property Value
Type | Description |
---|---|
string |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
Rdata
Output only. The data of the record. The meaning of the value depends on record type: - A and AAAA: IP
addresses for the domain name. - CNAME: Another domain to check for records. - TXT: Arbitrary text strings
associated with the domain name. Hosting uses TXT records to determine which Firebase projects have
permission to act on the domain name's behalf. - CAA: The record's flags, tag, and value, e.g. 0 issue "pki.goog"
.
Declaration
[JsonProperty("rdata")]
public virtual string Rdata { get; set; }
Property Value
Type | Description |
---|---|
string |
RequiredAction
Output only. An enum that indicates the a required action for this record.
Declaration
[JsonProperty("requiredAction")]
public virtual string RequiredAction { get; set; }
Property Value
Type | Description |
---|---|
string |
Type
Output only. The record's type, which determines what data the record contains.
Declaration
[JsonProperty("type")]
public virtual string Type { get; set; }
Property Value
Type | Description |
---|---|
string |