title | description | meta_tags | namespace | permalink | menu_namespace |
---|---|---|---|---|---|
How to configure Edge DNS main settings |
Customize your Edge DNS domains. |
secure, Edge DNS, configuration, settings, domains |
docs_guides_secure_idns_configure_main_settings |
/documentation/products/guides/secure/edge-dns-configure-main-settings/ |
secureMenu |
import Button from '/components/Button.astro'
import Badge from '/components/Badge.astro'
import ContributorList from '~/components/ContributorList.astro'
In this guide, you'll learn to create an Edge DNS zone with its main settings and edit them after you create the zone.
In this section, you'll create or edit the main settings of Edge DNS with a domain via Azion Console.
- Access Azion Console > Edge DNS.
- To create a new zone, click the Add Zone button. To edit an existing zone, select the zone you want to edit from the list.
:::caution[warning] Once you host your domain on Azion Edge DNS, you must change your domain's authoritative DNS servers to use Azion's nameservers:
- ns1.aziondns.net
- ns2.aziondns.com
- ns3.aziondns.org :::
- Give your zone a unique and easy-to-remember name.
- In Domain, add the name of the domain you want to host in Edge DNS. For example:
mydomain
. - Click the Save button.
- Optionally, edit the name of your zone.
- In Domain Name, edit the name of the domain you want to host in Edge DNS.
- Click the Save button.
Once you're done configuring your main settings, you can add records to your Edge DNS.
- Run the following
POST
request in your terminal, replacing[TOKEN VALUE]
with your personal token to create a new zone:
curl --location 'https://api.azionapi.net/intelligent_dns' \
--header 'Authorization: Token [TOKEN VALUE]' \
--header 'Accept: application/json; version=3' \
--header 'Content-Type: application/json' \
--data '{
"name": "New zone",
"domain": "yourdomain.com",
"is_active": true
}'
- You'll receive a response similar to this:
{
"results": [
{
"nx_ttl": 3600,
"domain": "yourdomain.com",
"retry": 7200,
"name": "New zone",
"nameservers": [
"ns1.aziondns.net",
"ns2.aziondns.com",
"ns3.aziondns.org"
],
"soa_ttl": 3600,
"is_active": true,
"refresh": 43200,
"expiry": 1209600,
"id": 1234
}
],
"schema_version": 3
}
:::caution[warning] Once you host your domain on Azion Edge DNS, you must change your domain's authoritative DNS servers to use Azion's nameservers:
- ns1.aziondns.net
- ns2.aziondns.com
- ns3.aziondns.org :::
Wait a few minutes for the changes to propagate and your zone will be created.
:::tip Check the Azion API documentation and the OpenAPI specification to know more about what the Azion API can offer. :::
Once you're done configuring your main settings, you can add records to your Edge DNS.
Contributors Contributor