Porkbun
@magistr/porkbunv2026.05.25.1
01README
Porkbun DNS record management with full CRUD for all common record types
02Release Notes
Merge pull request #4 from umag/extensions/magistr-grade-a-workspace
extensions: stage 15 @magistr extensions as Grade A workspace dirs + wire CI
03Models
@magistr/porkbunv2026.05.25.1porkbun.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| domain | string | The domain name (e.g., example.com) |
| apiKey | string | Porkbun API key |
| secretApiKey | string | Porkbun secret API key |
fn ping()
Test API credentials and get your public IP address
fn list()
List all DNS records for the domain
fn get(subdomain?: string)
Get DNS records by subdomain and type
| Argument | Type | Description |
|---|---|---|
| subdomain? | string | Subdomain (empty for root) |
fn create(subdomain?: string, content: string, ttl?: number, prio?: number, notes?: string)
Create a new DNS record
| Argument | Type | Description |
|---|---|---|
| subdomain? | string | Subdomain (empty for root) |
| content | string | Record content (IP, hostname, etc.) |
| ttl? | number | TTL in seconds |
| prio? | number | Priority (for MX, SRV) |
| notes? | string | Notes for this record |
fn update(recordId: string, subdomain?: string, content: string, ttl?: number, prio?: number)
Update an existing DNS record by ID
| Argument | Type | Description |
|---|---|---|
| recordId | string | Record ID to update |
| subdomain? | string | New subdomain |
| content | string | New record content |
| ttl? | number | New TTL in seconds |
| prio? | number | New priority |
fn delete(recordId: string)
Delete a DNS record by ID
| Argument | Type | Description |
|---|---|---|
| recordId | string | Record ID to delete |
fn deleteByNameType(subdomain?: string)
Delete DNS records by subdomain and type
| Argument | Type | Description |
|---|---|---|
| subdomain? | string | Subdomain (empty for root) |
04Previous Versions
2026.02.27.1Feb 27, 2026
05Stats
A
100 / 100
Downloads
1
Archive size
5.0 KB
- Has README or module doc2/2earned
- README has a code example1/1earned
- README is substantive1/1earned
- Most symbols documented1/1earned
- No slow types1/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/umag/swamp-workspace06Platforms
07Labels