Scaleway Dns
@sntxrr/scaleway-dnsv2026.07.19.2
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.
02Models
@sntxrr/scaleway-dnsv2026.07.19.2scaleway_dns.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| secretKey | string | Scaleway API secret key. Wire with ${{ vault.get(scaleway, SCW_SECRET_KEY) }}. |
| projectId | string | Scaleway Project ID that owns the DNS zone. |
| dnsZone? | string | The DNS zone (domain name) this model manages, e.g. example.com. |
| endpoint? | string | Override 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.
| Argument | Type | Description |
|---|---|---|
| domain? | string | Parent registrable domain to create the zone under (e.g. example.com). |
| subdomain? | string | Subdomain 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).
| Argument | Type | Description |
|---|---|---|
| changes | array | Ordered list of record-change operations. Each entry holds exactly one of |
| returnAllRecords? | boolean | When 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 Versions
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
Repository
https://github.com/sntxrr/swamp-scaleway05Platforms
06Labels