Oracle Cloud Infrastructure Documentation

Getting Started with DNS

If you're new to Oracle Cloud Infrastructure DNS, this topic gives guidance on how to proceed.

What is DNS?

The Domain Name System (DNS) translates human-readable domain names to machine-readable IP addresses. A DNS nameserver stores the DNS records for a zone, and responds with answers to queries against its database. When you type a domain name into your browser, your operating system queries several DNS nameservers until it finds the authoritative nameserver for that domain. The authoritative nameserver then responds with an IP address or other requested record data. The answer is then relayed back to your browser and the DNS record is resolved to the web page.

Creating a Zone

In this step, you will create a zone. A zone holds the trusted DNS records that will reside on Oracle Cloud Infrastructure’s nameservers.

To add a zone

Delegating Your Zone

In this step, you will delegate your domain with your registrar. Delegating your domain with your domain's registrar makes your Oracle Cloud Infrastructure hosted zone accessible through the internet.

To delegate a zone
To add a zone record

Common DNS Zone Record Types

For a complete list of records supported by Oracle Cloud Infrastructure DNS, see Supported Resource Records.

A
An address record used to point a hostname to an IPv4 address. For more information about A records, see RFC 1035.
AAAA
An address record used point a hostname at an IPv6 address. For more information about AAAA records, see RFC 3596.
CNAME
A Canonical Name record identifies the canonical name for a domain. For more information about CNAME records, see RFC 1035.

Note

Per RFC 1912, CNAMES cannot be placed at the apex of the zone.

MX
A Mail Exchanger record defines the mail server accepting mail for a domain. MX records must point to a hostname. MX records must not point to a CNAME or IP address. For more information about MX records, see RFC 1035.
TXT
A Text record holds descriptive, human readable text, and can also include non-human readable content for specific uses. It is commonly used for SPF records and DKIM records that require non-human readable text items. For more information about TXT records, see RFC 1035.

Testing DNS Using BIND's dig Tool

Using the Domain Information Groper (dig) command line tool, you can test against the delegation where your domain is hosted, and you will immediately see whether the change took place without accounting for the cache or TTL (Time to Live) that you have configured.

For more information on using dig to test your DNS, see Testing DNS Using BIND'S dig Tool.