Skip to content

Latest commit

 

History

History
113 lines (86 loc) · 3.54 KB

edit-main-settings.mdx

File metadata and controls

113 lines (86 loc) · 3.54 KB
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.


Via Azion Console

In this section, you'll create or edit the main settings of Edge DNS with a domain via Azion Console.

  1. Access Azion Console > Edge DNS.
  2. 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 :::

Creating a new zone

  1. Give your zone a unique and easy-to-remember name.
  2. In Domain, add the name of the domain you want to host in Edge DNS. For example: mydomain.
  3. Click the Save button.

Editing an existing zone

  1. Optionally, edit the name of your zone.
  2. In Domain Name, edit the name of the domain you want to host in Edge DNS.
  3. Click the Save button.

Once you're done configuring your main settings, you can add records to your Edge DNS.


Via API

  1. 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
}'
  1. 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