Menu

MCP: dns

DNS zones and records

Toolsetdns (default)
Tools20
Permissions granted by weird mcp setupdns:read, dns:write
With --read-onlydns:read
Turn it onon by default

weird_dns_zones_list#

List DNS zones. List the user's DNS zones with their state (pending, active, suspended), nameserver pair and records. Small credit charge per successful request (charge key dns.reads per_request in weird_credits_charges); failed calls are free.

Changes somethingno (read-only)
Needs confirmed: trueno
Costa small credit charge per successful request (failed calls are free)
CallslistDnsZones

No arguments.

weird_dns_zone_get#

DNS zone details. Show one DNS zone: its state, its own nameserver pair, every record and the last delegation check. Small credit charge per successful request (charge key dns.reads per_request in weird_credits_charges); failed calls are free. A pending zone goes live once the domain points at its nameservers.

Changes somethingno (read-only)
Needs confirmed: trueno
Costa small credit charge per successful request (failed calls are free)
CallsgetDnsZone

Arguments:

  • domain, string, required — the zone's domain name

weird_dns_zone_create#

Create a DNS zone. Create a DNS zone for a domain; the answer names the zone's own nameserver pair. COSTS CREDITS: charge key dns.manage (refunded if the zone is deleted before it goes live). It goes live once the domain points at that pair: set it with weird_domains_set_nameservers (or at the domain's registrar), then call weird_dns_zone_check. BILLS HOURLY. Charge keys (see weird_credits_charges): recurring.dns-entry-hourly at per_entry_hour × records, every hour while it exists; dns.traffic-hourly at per_answer, as used.

Changes somethingyes
Needs confirmed: trueyes (costs credits)
CallscreateDnsZone

Arguments:

  • confirmed, boolean, required — must be true, and only after the user explicitly agreed to this action and its cost or consequence
  • domain, string, required — the zone's domain name
  • idempotency_key, string — optional, for an action that costs credits: pass the same value again if you retry this exact action; a repeat never creates or bills a second one. Leave it out the first time: the answer returns the key used

weird_dns_zone_delete#

Delete a DNS zone. Delete a DNS zone and all its records; a live zone stops answering at once and the domain stops resolving. COSTS CREDITS: charge key dns.zone-cancel (usually zero; a zone that never went live has its creation refunded). Irreversible.

Changes somethingyes
Needs confirmed: trueyes (costs credits, cannot be undone)
CallsdeleteDnsZone

Arguments:

  • confirmed, boolean, required — must be true, and only after the user explicitly agreed to this action and its cost or consequence
  • domain, string, required — the zone's domain name
  • idempotency_key, string — optional, for an action that costs credits: pass the same value again if you retry this exact action; a repeat never creates or bills a second one. Leave it out the first time: the answer returns the key used

weird_dns_zone_check#

Check delegation now. Check at once whether the domain points at its zone's nameservers; a pending zone it now points at goes live. Free. Call after weird_domains_set_nameservers or a nameserver change at the registrar.

Changes somethingyes
Needs confirmed: trueno
CallscheckDnsZoneNow

Arguments:

  • domain, string, required — the zone's domain name

weird_dns_dnssec_get#

DNSSEC record. Show the DS record the domain's registrar needs to complete DNSSEC for a live zone. Small credit charge per successful request (charge key dns.reads per_request in weird_credits_charges); failed calls are free. Only a live (active) zone answers.

Changes somethingno (read-only)
Needs confirmed: trueno
Costa small credit charge per successful request (failed calls are free)
CallsgetDnsZoneDnssec

Arguments:

  • domain, string, required — the zone's domain name

weird_dns_records_set#

Set DNS records. Create or replace one record set: every record of one name and type, replaced wholesale by the records given. COSTS CREDITS: charge key dns.manage (per call). Include existing values to keep them (read them with weird_dns_zone_get). Records made by tunnels, storage domains, apps or servers are refused; change them through their feature.

Changes somethingyes
Needs confirmed: trueyes (costs credits)
CallsupsertDnsRecords

Arguments:

  • confirmed, boolean, required — must be true, and only after the user explicitly agreed to this action and its cost or consequence
  • domain, string, required — the zone's domain name
  • idempotency_key, string — optional, for an action that costs credits: pass the same value again if you retry this exact action; a repeat never creates or bills a second one. Leave it out the first time: the answer returns the key used
  • records, null or array of objects, required — one record set: the same name (fully qualified, ending in a dot) and type; data per type: A/AAAA {address}, CNAME/NS/PTR {name}, MX {preference, exchange}, TXT {texts}, SRV {priority, weight, port, target}, CAA {flags, tag, value}
    • class, string
    • data, object, required
    • name, string, required
    • ttl, null or integer
    • type, string, required

weird_dns_records_delete#

Delete DNS records. Delete every record of a name in a zone, or only those of one type. COSTS CREDITS: charge key dns.manage (per call). Irreversible: export the zone first with weird_dns_zone_export to keep a copy.

Changes somethingyes
Needs confirmed: trueyes (costs credits, cannot be undone)
CallsdeleteDnsRecord

Arguments:

  • confirmed, boolean, required — must be true, and only after the user explicitly agreed to this action and its cost or consequence
  • domain, string, required — the zone's domain name
  • idempotency_key, string — optional, for an action that costs credits: pass the same value again if you retry this exact action; a repeat never creates or bills a second one. Leave it out the first time: the answer returns the key used
  • name, string, required — the record name, fully qualified and ending in a dot
  • type, string — only records of this type (default: every type of the name)

weird_dns_zone_export#

Export a zone. Return a zone as a standard zone file (text), its own SOA and nameserver records included. Small credit charge per successful request (charge key dns.reads per_request in weird_credits_charges); failed calls are free.

Changes somethingno (read-only)
Needs confirmed: trueno
Costa small credit charge per successful request (failed calls are free)
CallsexportDnsZone

Arguments:

  • domain, string, required — the zone's domain name

weird_dns_zone_import#

Import a zone file. Replace all of a zone's records with those of a standard zone file; records the file lacks are deleted, one bad record refuses it all. COSTS CREDITS: charge key dns.manage (per call). Irreversible: export the zone first with weird_dns_zone_export.

Changes somethingyes
Needs confirmed: trueyes (costs credits, cannot be undone)
CallsimportDnsZone

Arguments:

  • confirmed, boolean, required — must be true, and only after the user explicitly agreed to this action and its cost or consequence
  • domain, string, required — the zone's domain name
  • idempotency_key, string — optional, for an action that costs credits: pass the same value again if you retry this exact action; a repeat never creates or bills a second one. Leave it out the first time: the answer returns the key used
  • zone_file, string, required — the zone file text

weird_dns_snapshot_take#

Copy live DNS. Copy the records a domain has on the internet today, from its current nameservers, and keep the copy to fill a pending zone from. COSTS CREDITS: charge key dns.manage (per call). Then use weird_dns_seed_preview and weird_dns_seed.

Changes somethingyes
Needs confirmed: trueyes (costs credits)
CallstakeDnsSnapshot

Arguments:

  • confirmed, boolean, required — must be true, and only after the user explicitly agreed to this action and its cost or consequence
  • discover, boolean — also read names known from certificate logs (slower, no extra cost)
  • domain, string, required — the zone's domain name
  • idempotency_key, string — optional, for an action that costs credits: pass the same value again if you retry this exact action; a repeat never creates or bills a second one. Leave it out the first time: the answer returns the key used
  • names, null or array of strings — extra names to read (at most 38)

weird_dns_snapshots_list#

List copies. List the copies of a domain's live DNS kept for its zone, newest first, without their records. Small credit charge per successful request (charge key dns.reads per_request in weird_credits_charges); failed calls are free.

Changes somethingno (read-only)
Needs confirmed: trueno
Costa small credit charge per successful request (failed calls are free)
CallslistDnsSnapshots

Arguments:

  • domain, string, required — the zone's domain name

weird_dns_snapshot_get#

Copy details. Show one copy of a domain's live DNS with its records and whether it can fill the zone. Small credit charge per successful request (charge key dns.reads per_request in weird_credits_charges); failed calls are free.

Changes somethingno (read-only)
Needs confirmed: trueno
Costa small credit charge per successful request (failed calls are free)
CallsgetDnsSnapshot

Arguments:

  • domain, string, required — the zone's domain name
  • snapshot_id, string, required — the copy's id

weird_dns_seed_preview#

Preview filling a zone. Show exactly which records filling a pending zone from a copy would write, and which are left out and why; nothing is written. Free. Needs a copy from weird_dns_snapshot_take.

Changes somethingno (read-only)
Needs confirmed: trueno
Call firstweird_dns_snapshot_take
CallspreviewDnsSeed

Arguments:

  • domain, string, required — the zone's domain name
  • mode, string — merge (default: records the user set win) or replace
  • snapshot_id, string — the copy to use (default: the newest usable one)

weird_dns_seed#

Fill a zone from a copy. Write a copy's records into a pending zone in one step, so it answers like the domain does today before the nameserver switch. COSTS CREDITS: charge key dns.manage (once for the whole fill). Show weird_dns_seed_preview to the user first.

Changes somethingyes
Needs confirmed: trueyes (costs credits)
Call firstweird_dns_seed_preview
CallsseedDnsZone

Arguments:

  • confirmed, boolean, required — must be true, and only after the user explicitly agreed to this action and its cost or consequence
  • domain, string, required — the zone's domain name
  • idempotency_key, string — optional, for an action that costs credits: pass the same value again if you retry this exact action; a repeat never creates or bills a second one. Leave it out the first time: the answer returns the key used
  • mode, string — merge (default: records the user set win) or replace
  • snapshot_id, string — the copy to use (default: the newest usable one)

weird_dns_events#

DNS zone events. List what happened to the user's zones, oldest first: went live, suspended, resumed, expired, deleted, filled, copy changed, old DNSSEC record present. Small credit charge per successful request (charge key dns.reads per_request in weird_credits_charges); failed calls are free. Pass next from the answer as after for the next page.

Changes somethingno (read-only)
Needs confirmed: trueno
Costa small credit charge per successful request (failed calls are free)
CallslistDnsEvents

Arguments:

  • after, integer — the last event id seen
  • limit, integer — page size, 1 to 500

weird_dns_resync#

Re-read live DNS. For a filled pending zone: copy the domain's live DNS again and show what changed since the fill; the zone itself does not change. COSTS CREDITS: charge key dns.manage (per call). Then weird_dns_resync_preview and weird_dns_resync_apply.

Changes somethingyes
Needs confirmed: trueyes (costs credits)
CallsresyncDnsZone

Arguments:

  • confirmed, boolean, required — must be true, and only after the user explicitly agreed to this action and its cost or consequence
  • domain, string, required — the zone's domain name
  • idempotency_key, string — optional, for an action that costs credits: pass the same value again if you retry this exact action; a repeat never creates or bills a second one. Leave it out the first time: the answer returns the key used

weird_dns_resync_preview#

Preview a re-sync. Show what applying the latest re-read would write into the zone; records the user edited are kept unless overwrite_edited. Small credit charge per successful request (charge key dns.reads per_request in weird_credits_charges); failed calls are free. Needs a re-read from weird_dns_resync.

Changes somethingno (read-only)
Needs confirmed: trueno
Costa small credit charge per successful request (failed calls are free)
Call firstweird_dns_resync
CallspreviewDnsResync

Arguments:

  • domain, string, required — the zone's domain name
  • overwrite_edited, boolean — also overwrite records the user edited since the fill
  • snapshot_id, string — the re-read to use (default: the newest)

weird_dns_resync_apply#

Apply a re-sync. Write the re-sync plan into the pending zone in one step. COSTS CREDITS: charge key dns.manage (once). Show weird_dns_resync_preview to the user first.

Changes somethingyes
Needs confirmed: trueyes (costs credits)
Call firstweird_dns_resync_preview
CallsapplyDnsResync

Arguments:

  • confirmed, boolean, required — must be true, and only after the user explicitly agreed to this action and its cost or consequence
  • domain, string, required — the zone's domain name
  • idempotency_key, string — optional, for an action that costs credits: pass the same value again if you retry this exact action; a repeat never creates or bills a second one. Leave it out the first time: the answer returns the key used
  • overwrite_edited, boolean — also overwrite records the user edited since the fill
  • snapshot_id, string — the re-read to use (default: the newest)

weird_dns_migration_advice#

How to move DNS safely. Give the safe order of steps to move a live domain's DNS to its weird zone: an old DNSSEC record to remove first, lifetimes to lower, then the switch. Small credit charge per successful request (charge key dns.reads per_request in weird_credits_charges); failed calls are free.

Changes somethingno (read-only)
Needs confirmed: trueno
Costa small credit charge per successful request (failed calls are free)
CallsgetDnsMigrationAdvice

Arguments:

  • domain, string, required — the zone's domain name

This page is generated from the weird CLI; it changes when the CLI does.