Skip to main content

Porkbun

@magistr/porkbunv2026.05.25.1· 5d agoMODELS
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

03Models1
@magistr/porkbunv2026.05.25.1porkbun.ts

Global Arguments

ArgumentTypeDescription
domainstringThe domain name (e.g., example.com)
apiKeystringPorkbun API key
secretApiKeystringPorkbun 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
ArgumentTypeDescription
subdomain?stringSubdomain (empty for root)
fn create(subdomain?: string, content: string, ttl?: number, prio?: number, notes?: string)
Create a new DNS record
ArgumentTypeDescription
subdomain?stringSubdomain (empty for root)
contentstringRecord content (IP, hostname, etc.)
ttl?numberTTL in seconds
prio?numberPriority (for MX, SRV)
notes?stringNotes for this record
fn update(recordId: string, subdomain?: string, content: string, ttl?: number, prio?: number)
Update an existing DNS record by ID
ArgumentTypeDescription
recordIdstringRecord ID to update
subdomain?stringNew subdomain
contentstringNew record content
ttl?numberNew TTL in seconds
prio?numberNew priority
fn delete(recordId: string)
Delete a DNS record by ID
ArgumentTypeDescription
recordIdstringRecord ID to delete
fn deleteByNameType(subdomain?: string)
Delete DNS records by subdomain and type
ArgumentTypeDescription
subdomain?stringSubdomain (empty for root)
04Previous Versions1
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
06Platforms
07Labels