Skip to main content

Scaleway Dns

@sntxrr/scaleway-dnsv2026.07.19.2· 6d agoMODELS
01README

Manage a Scaleway DNS zone — create/delete the zone, sync records, list zones, and update (apply add/set/delete/clear record changes), via the global Domains & DNS API (/domain/v2beta1) with X-Auth-Token auth.

02Models1
@sntxrr/scaleway-dnsv2026.07.19.2scaleway_dns.ts

Global Arguments

ArgumentTypeDescription
secretKeystringScaleway API secret key. Wire with ${{ vault.get(scaleway, SCW_SECRET_KEY) }}.
projectIdstringScaleway Project ID that owns the DNS zone.
dnsZone?stringThe DNS zone (domain name) this model manages, e.g. example.com.
endpoint?stringOverride the API host. Defaults to https://api.scaleway.com.
fn sync()
Fetch every DNS record in the managed zone (ListDNSZoneRecords).
fn create(domain?: string, subdomain?: string)
Create a new DNS zone (CreateDNSZone) and snapshot it.
ArgumentTypeDescription
domain?stringParent registrable domain to create the zone under (e.g. example.com).
subdomain?stringSubdomain label for the new zone (e.g. `test` for test.example.com).
fn delete()
Delete the managed DNS zone (DeleteDNSZone). Idempotent (404 = already absent).
fn update(changes: array, returnAllRecords?: boolean)
Apply a batch of record changes (add/set/delete/clear) to the zone (PATCH).
ArgumentTypeDescription
changesarrayOrdered list of record-change operations. Each entry holds exactly one of
returnAllRecords?booleanWhen true, the API returns every record in the zone after applying the

Resources

record(infinite)— Snapshot of a single DNS record in the managed zone
zone(infinite)— Snapshot of a DNS zone discovered in the project
03Previous Versions2
2026.07.19.1

Modified 1 models

2026.07.18.1
04Stats
A
100 / 100
Downloads
0
Archive size
11.6 KB
  • Has README or module doc2/2earned
  • README has a code example1/1earned
  • README is substantive1/1earned
  • Most symbols documented1/1earned
  • No slow types (deprecated)1/1earned
  • Dependencies pass trust audit2/2earned
  • Has description1/1earned
  • Platform support declared (or universal)2/2earned
  • License declared1/1earned
  • Verified public repository2/2earned
05Platforms
06Labels