Skip to content

Commit 80d0b03

Browse files
authored
fix: updated dnssec guides (#1676)
1 parent 2c6f079 commit 80d0b03

File tree

2 files changed

+48
-22
lines changed

2 files changed

+48
-22
lines changed

src/content/docs/en/pages/secure-journey/zone-advanced-configurations/activate-dnssec.mdx

Lines changed: 24 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,13 @@ permalink: /documentation/products/guides/secure/activate-dnssec/
1717

1818
DNSSEC activation is available via [Azion API](https://api.azion.com/#ea46919a-7130-426d-b38b-dc416b6c4c32):
1919

20-
1. Run the following `GET` request in your terminal, replacing [TOKEN VALUE] with your [personal token](/en/documentation/products/guides/personal-tokens/) to retrieve your `<hosted_zone_id>`:
20+
1. Run the following `GET` request in your terminal, replacing [TOKEN VALUE] with your [personal token](/en/documentation/products/guides/personal-tokens/) to retrieve your `<zoneId>`:
2121

2222
```bash
23-
curl --location 'https://api.azionapi.net/intelligent_dns' \
24-
--header 'Authorization: Token [TOKEN VALUE]' \
25-
--header 'Accept: application/json; version=3'
23+
curl --request GET \
24+
--url https://api.azion.com/v4/dns/zones \
25+
--header 'Accept: application/json' \
26+
--header 'Authorization: [TOKEN VALUE]'
2627
```
2728

2829
2. You’ll receive a response similar to this:
@@ -51,12 +52,13 @@ curl --location 'https://api.azionapi.net/intelligent_dns' \
5152
4. Run the following `PATCH` request in your terminal, replacing [TOKEN VALUE] with your [personal token](/en/documentation/products/guides/personal-tokens/):
5253

5354
```bash
54-
curl --location --request PATCH 'https://api.azionapi.net/intelligent_dns/hosted_zone_id/dnssec' \
55-
--header 'Accept: application/json; version=3' \
56-
--header 'Authorization: Token [TOKEN VALUE]' \
57-
--header 'Content-Type: application/json' \
58-
--data '{
59-
"is_enabled": true
55+
curl --request PATCH \
56+
--url https://api.azion.com/v4/dns/zones/<zoneId>/dnssec \
57+
--header 'Accept: application/json' \
58+
--header 'Authorization: [TOKEN VALUE]' \
59+
--header 'Content-Type: application/json' \
60+
--data '{
61+
"enabled": true
6062
}'
6163
```
6264

@@ -72,7 +74,18 @@ curl --location --request PATCH 'https://api.azionapi.net/intelligent_dns/hosted
7274
}
7375
```
7476

75-
Now, DNSSEC is active in the Edge DNS zone you specified.
77+
6. Run the following `GET` request to retrieve the `digest` and `key_tag` replacing [TOKEN VALUE] with your [personal token](/en/documentation/products/guides/personal-tokens/) and `<zoneId>`, you'll need these to configure DNSSEC in your domain Registrar.
78+
79+
```bash
80+
curl --request GET \
81+
--url https://api.azion.com/v4/dns/zones/<zoneId>/dnssec \
82+
--header 'Accept: application/json' \
83+
--header 'Authorization: [TOKEN VALUE]'
84+
```
85+
86+
:::caution[warning]
87+
Your DNSSEC configuration is NOT complete until you finish the setup using the `digest` and `key_tag` values at your domain Registrar.
88+
:::
7689

7790
:::tip
7891
Check the [Azion API documentation](https://api.azion.com/) and the [OpenAPI specification](https://github.com/aziontech/azionapi-openapi/) to know more about all features available via API.

src/content/docs/pt-br/pages/secure-jornada/zona-configuracoes-avancadas/ativar-dnssec.mdx

Lines changed: 24 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,13 @@ permalink: /documentacao/produtos/guias/secure/ativar-dnssec/
1717

1818
A ativação do DNSSEC está disponível via [API da Azion](https://api.azion.com/#ea46919a-7130-426d-b38b-dc416b6c4c32):
1919

20-
1. Execute a seguinte requisição `GET` no seu terminal, substituindo `[TOKEN VALUE]` pelo seu [personal token](/pt-br/documentacao/produtos/guias/personal-tokens/) para buscar seu `<hosted_zone_id>`:
20+
1. Execute a seguinte requisição `GET` no seu terminal, substituindo `[TOKEN VALUE]` pelo seu [personal token](/pt-br/documentacao/produtos/guias/personal-tokens/) para buscar seu `<zoneId>`:
2121

2222
```bash
23-
curl --location 'https://api.azionapi.net/intelligent_dns' \
24-
--header 'Authorization: Token [TOKEN VALUE]' \
25-
--header 'Accept: application/json; version=3'
23+
curl --request GET \
24+
--url https://api.azion.com/v4/dns/zones \
25+
--header 'Accept: application/json' \
26+
--header 'Authorization: [TOKEN VALUE]'
2627
```
2728

2829
2. Você receberá uma resposta semelhante a esta:
@@ -51,12 +52,13 @@ curl --location 'https://api.azionapi.net/intelligent_dns' \
5152
4. Execute a seguinte requisição `PATCH` no seu terminal, substituindo `[TOKEN VALUE]` pelo seu [personal token](/pt-br/documentacao/produtos/guias/personal-tokens/):
5253

5354
```bash
54-
curl --location --request PATCH 'https://api.azionapi.net/intelligent_dns/hosted_zone_id/dnssec' \
55-
--header 'Accept: application/json; version=3' \
56-
--header 'Authorization: Token [TOKEN VALUE]' \
57-
--header 'Content-Type: application/json' \
58-
--data '{
59-
"is_enabled": true
55+
curl --request PATCH \
56+
--url https://api.azion.com/v4/dns/zones/<zoneId>/dnssec \
57+
--header 'Accept: application/json' \
58+
--header 'Authorization: [TOKEN VALUE]' \
59+
--header 'Content-Type: application/json' \
60+
--data '{
61+
"enabled": true
6062
}'
6163
```
6264

@@ -72,7 +74,18 @@ curl --location --request PATCH 'https://api.azionapi.net/intelligent_dns/hosted
7274
}
7375
```
7476

75-
Agora, o DNSSEC está ativo na zona do Edge DNS que você especificou.
77+
6. Execute a seguinte requisição `GET` no seu terminal, substituindo `[TOKEN VALUE]` pelo seu [personal token](/pt-br/documentacao/produtos/guias/personal-tokens/) e `<zoneId>` para buscar `digest` e `key_tag`. Você vai precisar deles para configurar DNSSEC no seu Registrar.
78+
79+
```bash
80+
curl --request GET \
81+
--url https://api.azion.com/v4/dns/zones/<zoneId>/dnssec \
82+
--header 'Accept: application/json' \
83+
--header 'Authorization: [TOKEN VALUE]'
84+
```
85+
86+
:::caution[Atenção]
87+
Sua configuração de DNSSEC NÃO está completa até você terminar o setup utilizando os valores de `digest` e `key_tag` no seu Registrador de domínios.
88+
:::
7689

7790
:::tip
7891
Confira a [documentação da API da Azion](https://api.azion.com/) e a [especificação OpenAPI](https://github.com/aziontech/azionapi-openapi/) para saber mais sobre todos os recursos disponíveis via API.

0 commit comments

Comments
 (0)