domainDnsRecord resource type

Namespace: microsoft.graph

For each domain in the tenant, you may be required to add DNS record(s) to the DNS zone file of the domain before the domain can be used by Microsoft Online Services. The DomainDnsRecord entity is used to present such DNS records. Base entity for DomainDnsCnameRecord, DomainDnsMxRecord, DomainDnsSrvRecord and DomainDnsTxtRecord entities.

Methods

Direct queries to this resource are not supported. Please see the domain topic for information on how to query for domain service records.

Properties

Property Type Description
id String Unique identifier assigned to this entity. Not nullable, Read-only.
isOptional Boolean If false, this record must be configured by the customer at the DNS host for Microsoft Online Services to operate correctly with the domain.
label String Value used when configuring the name of the DNS record at the DNS host.
recordType String Indicates what type of DNS record this entity represents.
The value can be one of the following: CName, Mx, Srv, Txt

Key
supportedService String Microsoft Online Service or feature that has a dependency on this DNS record.
Can be one of the following values: null, Email, Sharepoint, EmailInternalRelayOnly, OfficeCommunicationsOnline, SharePointDefaultDomain, FullRedelegation, SharePointPublic, OrgIdAuthentication, Yammer, Intune
ttl Int32 Value to use when configuring the time-to-live (ttl) property of the DNS record at the DNS host. Not nullable

Relationships

None

JSON representation

Here is a JSON representation of the resource.

{
  "id": "String (identifier)",
  "isOptional": true,
  "label": "String",
  "recordType": "String",
  "supportedService": "String",
  "ttl": 1024
}