Menu
MCP: dns
DNS zones and records
| Toolset | dns (default) |
| Tools | 20 |
Permissions granted by weird mcp setup | dns:read, dns:write |
With --read-only | dns:read |
| Turn it on | on 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 something | no (read-only) |
Needs confirmed: true | no |
| Cost | a small credit charge per successful request (failed calls are free) |
| Calls | listDnsZones |
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 something | no (read-only) |
Needs confirmed: true | no |
| Cost | a small credit charge per successful request (failed calls are free) |
| Calls | getDnsZone |
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 something | yes |
Needs confirmed: true | yes (costs credits) |
| Calls | createDnsZone |
Arguments:
confirmed, boolean, required — must be true, and only after the user explicitly agreed to this action and its cost or consequencedomain, string, required — the zone's domain nameidempotency_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 something | yes |
Needs confirmed: true | yes (costs credits, cannot be undone) |
| Calls | deleteDnsZone |
Arguments:
confirmed, boolean, required — must be true, and only after the user explicitly agreed to this action and its cost or consequencedomain, string, required — the zone's domain nameidempotency_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 something | yes |
Needs confirmed: true | no |
| Calls | checkDnsZoneNow |
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 something | no (read-only) |
Needs confirmed: true | no |
| Cost | a small credit charge per successful request (failed calls are free) |
| Calls | getDnsZoneDnssec |
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 something | yes |
Needs confirmed: true | yes (costs credits) |
| Calls | upsertDnsRecords |
Arguments:
confirmed, boolean, required — must be true, and only after the user explicitly agreed to this action and its cost or consequencedomain, string, required — the zone's domain nameidempotency_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 usedrecords, 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, stringdata, object, requiredname, string, requiredttl, null or integertype, 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 something | yes |
Needs confirmed: true | yes (costs credits, cannot be undone) |
| Calls | deleteDnsRecord |
Arguments:
confirmed, boolean, required — must be true, and only after the user explicitly agreed to this action and its cost or consequencedomain, string, required — the zone's domain nameidempotency_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 usedname, string, required — the record name, fully qualified and ending in a dottype, 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 something | no (read-only) |
Needs confirmed: true | no |
| Cost | a small credit charge per successful request (failed calls are free) |
| Calls | exportDnsZone |
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 something | yes |
Needs confirmed: true | yes (costs credits, cannot be undone) |
| Calls | importDnsZone |
Arguments:
confirmed, boolean, required — must be true, and only after the user explicitly agreed to this action and its cost or consequencedomain, string, required — the zone's domain nameidempotency_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 usedzone_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 something | yes |
Needs confirmed: true | yes (costs credits) |
| Calls | takeDnsSnapshot |
Arguments:
confirmed, boolean, required — must be true, and only after the user explicitly agreed to this action and its cost or consequencediscover, boolean — also read names known from certificate logs (slower, no extra cost)domain, string, required — the zone's domain nameidempotency_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 usednames, 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 something | no (read-only) |
Needs confirmed: true | no |
| Cost | a small credit charge per successful request (failed calls are free) |
| Calls | listDnsSnapshots |
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 something | no (read-only) |
Needs confirmed: true | no |
| Cost | a small credit charge per successful request (failed calls are free) |
| Calls | getDnsSnapshot |
Arguments:
domain, string, required — the zone's domain namesnapshot_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 something | no (read-only) |
Needs confirmed: true | no |
| Call first | weird_dns_snapshot_take |
| Calls | previewDnsSeed |
Arguments:
domain, string, required — the zone's domain namemode, string — merge (default: records the user set win) or replacesnapshot_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 something | yes |
Needs confirmed: true | yes (costs credits) |
| Call first | weird_dns_seed_preview |
| Calls | seedDnsZone |
Arguments:
confirmed, boolean, required — must be true, and only after the user explicitly agreed to this action and its cost or consequencedomain, string, required — the zone's domain nameidempotency_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 usedmode, string — merge (default: records the user set win) or replacesnapshot_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 something | no (read-only) |
Needs confirmed: true | no |
| Cost | a small credit charge per successful request (failed calls are free) |
| Calls | listDnsEvents |
Arguments:
after, integer — the last event id seenlimit, 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 something | yes |
Needs confirmed: true | yes (costs credits) |
| Calls | resyncDnsZone |
Arguments:
confirmed, boolean, required — must be true, and only after the user explicitly agreed to this action and its cost or consequencedomain, string, required — the zone's domain nameidempotency_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 something | no (read-only) |
Needs confirmed: true | no |
| Cost | a small credit charge per successful request (failed calls are free) |
| Call first | weird_dns_resync |
| Calls | previewDnsResync |
Arguments:
domain, string, required — the zone's domain nameoverwrite_edited, boolean — also overwrite records the user edited since the fillsnapshot_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 something | yes |
Needs confirmed: true | yes (costs credits) |
| Call first | weird_dns_resync_preview |
| Calls | applyDnsResync |
Arguments:
confirmed, boolean, required — must be true, and only after the user explicitly agreed to this action and its cost or consequencedomain, string, required — the zone's domain nameidempotency_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 usedoverwrite_edited, boolean — also overwrite records the user edited since the fillsnapshot_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 something | no (read-only) |
Needs confirmed: true | no |
| Cost | a small credit charge per successful request (failed calls are free) |
| Calls | getDnsMigrationAdvice |
Arguments:
domain, string, required — the zone's domain name
This page is generated from the weird CLI; it changes when the CLI does.