A DNS stage is part of a pipeline. It allows you to customize your Edge Services endpoint with a domain you own. This is useful if you do not want to use the default domain endpoint provided by Scaleway. Edge Services will then serve content from your customized domain. A TLS stage is also necessary to provide an SSL/TLS certificate so that Edge Services can serve traffic for your customized domain over HTTPS.
Get DNS stage
Retrieve information about an existing DNS stage, specified by its dns_stage_id. Its full details, including FQDNs, are returned in the response object.
path Parameters
dns_stage_idID of the requested DNS stage.
Get DNS stage › Responses
idID of the DNS stage.
default_fqdnDefault Fully Qualified Domain Name attached to the stage.
fqdnsList of additional (custom) Fully Qualified Domain Names attached to the stage.
typeType of the stage.
pipeline_idPipeline ID the DNS stage belongs to.
statusCurrent status of the stage.
created_atDate the DNS stage was created. (RFC 3339 format)
updated_atDate the DNS stage was last updated. (RFC 3339 format)
tls_stage_idTLS stage ID the DNS stage is linked to. (UUID format)
cache_stage_idCache stage ID the DNS stage is linked to. (UUID format)
backend_stage_idBackend stage ID the DNS stage is linked to. (UUID format)
wildcard_domainSupport of wildcard (subdomains) for the given domain (a wildcard certificate is required to make it work).
Update DNS stage
Update the parameters of an existing DNS stage, specified by its dns_stage_id.
path Parameters
dns_stage_idID of the DNS stage to update.
Update DNS stage › Request Body
fqdnsFully Qualified Domain Name (in the format subdomain.example.com) attached to the stage.
tls_stage_idTLS stage ID the DNS stage will be linked to. (UUID format)
cache_stage_idCache stage ID the DNS stage will be linked to. (UUID format)
backend_stage_idBackend stage ID the DNS stage will be linked to. (UUID format)
wildcard_domainSupport of wildcard (subdomains) for the given domain (a wildcard certificate is required to make it work).
Update DNS stage › Responses
idID of the DNS stage.
default_fqdnDefault Fully Qualified Domain Name attached to the stage.
fqdnsList of additional (custom) Fully Qualified Domain Names attached to the stage.
typeType of the stage.
pipeline_idPipeline ID the DNS stage belongs to.
statusCurrent status of the stage.
created_atDate the DNS stage was created. (RFC 3339 format)
updated_atDate the DNS stage was last updated. (RFC 3339 format)
tls_stage_idTLS stage ID the DNS stage is linked to. (UUID format)
cache_stage_idCache stage ID the DNS stage is linked to. (UUID format)
backend_stage_idBackend stage ID the DNS stage is linked to. (UUID format)
wildcard_domainSupport of wildcard (subdomains) for the given domain (a wildcard certificate is required to make it work).
List DNS stages
List all DNS stages, for a Scaleway Organization or Scaleway Project. By default, the DNS stages returned in the list are ordered by creation date in ascending order, though this can be modified via the order_by field.
path Parameters
pipeline_idPipeline ID to filter for. Only DNS stages from this pipeline will be returned.
query Parameters
order_bySort order of DNS stages in the response.
pagePage number to return, from the paginated results.
page_sizeNumber of DNS stages to return per page.
fqdnFully Qualified Domain Name to filter for (in the format subdomain.example.com). Only DNS stages with this FQDN will be returned.
List DNS stages › Responses
Paginated list of DNS stages.
total_countCount of all DNS stages matching the requested criteria.
Create DNS stage
Create a new DNS stage. You must specify the fqdns field to customize the domain endpoint, using a domain you already own.
path Parameters
pipeline_idPipeline ID the DNS stage belongs to. (UUID format)
Create DNS stage › Request Body
fqdnsFully Qualified Domain Name (in the format subdomain.example.com) to attach to the stage.
tls_stage_idTLS stage ID the DNS stage will be linked to. (UUID format)
cache_stage_idCache stage ID the DNS stage will be linked to. (UUID format)
backend_stage_idBackend stage ID the DNS stage will be linked to. (UUID format)
wildcard_domainSupport of wildcard (subdomains) for the given domain (a wildcard certificate is required to make it work).
Create DNS stage › Responses
idID of the DNS stage.
default_fqdnDefault Fully Qualified Domain Name attached to the stage.
fqdnsList of additional (custom) Fully Qualified Domain Names attached to the stage.
typeType of the stage.
pipeline_idPipeline ID the DNS stage belongs to.
statusCurrent status of the stage.
created_atDate the DNS stage was created. (RFC 3339 format)
updated_atDate the DNS stage was last updated. (RFC 3339 format)
tls_stage_idTLS stage ID the DNS stage is linked to. (UUID format)
cache_stage_idCache stage ID the DNS stage is linked to. (UUID format)
backend_stage_idBackend stage ID the DNS stage is linked to. (UUID format)
wildcard_domainSupport of wildcard (subdomains) for the given domain (a wildcard certificate is required to make it work).