Read deSEC domains, DNSSEC keys, zone files and RRsets; create or replace one DNS record set.
Maintain this server? Claim it
Call this server's tools from your browser. Nothing to install.
Requests go through mcptry because browsers can't call most MCP servers directly. Header values are sent to the server for that request only and are never stored or logged.
Tool list from our last check. Connect live to refresh it.
WRITE: create ONE new RRset (a set of DNS records of one type at one name) in a domain. It goes live in DNS immediately and a wrong record can take a site or mail offline. Fails if an RRset with this subname and type already exists (use desec_replace_rrset for that) or if a CNAME would conflict with other records. Never touches the apex NS or DNSSEC records and cannot delete anything. Subject to deSEC's write limits (15/min, 300/day per domain). POST /domains/{name}/rrsets/.
TTL in seconds, at most 86400. Not below the domain's minimum_ttl (usually 3600): deSEC rejects lower values.
Record type (uppercase). DNSSEC types and SOA are managed by deSEC and cannot be written.
Domain name in this deSEC account, e.g. example.com (see desec_list_domains).
Record contents in zone-file format, at least one (an empty list would delete the RRset and is refused). Names need a trailing dot ("10 mx.example.com."), TXT needs quotes ("\"v=spf1 -all\"").
Subname relative to the domain: "www", "_443._tcp.www", "*" for a wildcard. Empty or "@" = the zone apex. Never the full name.
The server marks this tool as destructive. Running it may delete or overwrite data on the server or in any account you connected with your headers.
WRITE: create ONE new RRset (a set of DNS records of one type at one name) in a domain. It goes live in DNS immediately and a wrong record can take a site or mail offline. Fails if an RRset with this subname and type already exists (use desec_replace_rrset for that) or if a CNAME would conflict with other records. Never touches the apex NS or DNSSEC records and cannot delete anything. Subject to deSEC's write limits (15/min, 300/day per domain). POST /domains/{name}/rrsets/.
| Argument | Type | Description |
|---|---|---|
| ttl* | integer | TTL in seconds, at most 86400. Not below the domain's minimum_ttl (usually 3600): deSEC rejects lower values. |
| type* | string | Record type (uppercase). DNSSEC types and SOA are managed by deSEC and cannot be written. |
| domain* | string | Domain name in this deSEC account, e.g. example.com (see desec_list_domains). |
| records* | array | Record contents in zone-file format, at least one (an empty list would delete the RRset and is refused). Names need a trailing dot ("10 mx.example.com."), TXT needs quotes ("\"v=spf1 -all\""). |
| subname | string | Subname relative to the domain: "www", "_443._tcp.www", "*" for a wildcard. Empty or "@" = the zone apex. Never the full name. |
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"domain",
"type",
"ttl",
"records"
],
"properties": {
"ttl": {
"type": "integer",
"maximum": 86400,
"minimum": 1,
"description": "TTL in seconds, at most 86400. Not below the domain's minimum_ttl (usually 3600): deSEC rejects lower values."
},
"type": {
"enum": [
"A",
"AAAA",
"CAA",
"CNAME",
"HTTPS",
"LOC",
"MX",
"NAPTR",
"NS",
"OPENPGPKEY",
"PTR",
"SMIMEA",
"SPF",
"SRV",
"SSHFP",
"SVCB",
"TLSA",
"TXT",
"URI"
],
"type": "string",
"description": "Record type (uppercase). DNSSEC types and SOA are managed by deSEC and cannot be written."
},
"domain": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "Domain name in this deSEC account, e.g. example.com (see desec_list_domains)."
},
"records": {
"type": "array",
"items": {
"type": "string",
"maxLength": 4000,
"minLength": 1
},
"maxItems": 100,
"minItems": 1,
"description": "Record contents in zone-file format, at least one (an empty list would delete the RRset and is refused). Names need a trailing dot (\"10 mx.example.com.\"), TXT needs quotes (\"\\\"v=spf1 -all\\\"\")."
},
"subname": {
"type": "string",
"maxLength": 178,
"description": "Subname relative to the domain: \"www\", \"_443._tcp.www\", \"*\" for a wildcard. Empty or \"@\" = the zone apex. Never the full name."
}
}
}The whole zone as a plain-text BIND-format zonefile (all RRsets except DNSSEC types). Handy as a backup before changing records. Counts as an expensive deSEC operation (300/min). GET /domains/{name}/zonefile/.
| Argument | Type | Description |
|---|---|---|
| domain* | string | Domain name in this deSEC account, e.g. example.com (see desec_list_domains). |
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"domain"
],
"properties": {
"domain": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "Domain name in this deSEC account, e.g. example.com (see desec_list_domains)."
}
}
}One domain with its DNSSEC key material: the DNSKEY and the DS records to publish at the registrar for the chain of trust, plus minimum TTL and publication times. GET /domains/{name}/.
| Argument | Type | Description |
|---|---|---|
| domain* | string | Domain name in this deSEC account, e.g. example.com (see desec_list_domains). |
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"domain"
],
"properties": {
"domain": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "Domain name in this deSEC account, e.g. example.com (see desec_list_domains)."
}
}
}One RRset by subname and type, e.g. the A records of "www" or the MX records of the apex. GET /domains/{name}/rrsets/{subname}/{type}/.
| Argument | Type | Description |
|---|---|---|
| type* | string | Record type, e.g. A, AAAA, CNAME, MX, TXT, CAA, SRV, TLSA. |
| domain* | string | Domain name in this deSEC account, e.g. example.com (see desec_list_domains). |
| subname | string | Subname relative to the domain: "www", "_443._tcp.www", "*" for a wildcard. Empty or "@" = the zone apex. Never the full name. |
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"domain",
"type"
],
"properties": {
"type": {
"type": "string",
"pattern": "^[A-Za-z0-9]{1,20}$",
"description": "Record type, e.g. A, AAAA, CNAME, MX, TXT, CAA, SRV, TLSA."
},
"domain": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "Domain name in this deSEC account, e.g. example.com (see desec_list_domains)."
},
"subname": {
"type": "string",
"maxLength": 178,
"description": "Subname relative to the domain: \"www\", \"_443._tcp.www\", \"*\" for a wildcard. Empty or \"@\" = the zone apex. Never the full name."
}
}
}List the DNS domains (zones) in this deSEC account, newest first, with creation and last-published times and minimum TTL. DNSSEC keys are omitted here (see desec_get_domain). Use owns_qname to find which of your domains is responsible for a DNS name (for example before adding a record for www.dev.example.net). Up to 500 per page. GET /domains/.
| Argument | Type | Description |
|---|---|---|
| cursor | string | Opaque cursor from a previous reply's next_cursor. Omit for the first page. |
| owns_qname | string | Only the domain that is authoritative for this DNS name (the longest matching zone you own). |
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"cursor": {
"type": "string",
"maxLength": 500,
"description": "Opaque cursor from a previous reply's next_cursor. Omit for the first page."
},
"owns_qname": {
"type": "string",
"maxLength": 253,
"minLength": 1,
"description": "Only the domain that is authoritative for this DNS name (the longest matching zone you own)."
}
}
}List the DNS records of a domain as RRsets (all records of one name and type, sharing one TTL), newest first. Filter by type and/or subname. Up to 500 per page. GET /domains/{name}/rrsets/.
| Argument | Type | Description |
|---|---|---|
| type | string | Only RRsets of this type, e.g. A, MX, TXT. |
| cursor | string | Opaque cursor from a previous reply's next_cursor. Omit for the first page. |
| domain* | string | Domain name in this deSEC account, e.g. example.com (see desec_list_domains). |
| subname | string | Only RRsets at this subname ("" or "@" = the zone apex). Omit to include every subname. |
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"domain"
],
"properties": {
"type": {
"type": "string",
"pattern": "^[A-Za-z0-9]{1,20}$",
"description": "Only RRsets of this type, e.g. A, MX, TXT."
},
"cursor": {
"type": "string",
"maxLength": 500,
"description": "Opaque cursor from a previous reply's next_cursor. Omit for the first page."
},
"domain": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "Domain name in this deSEC account, e.g. example.com (see desec_list_domains)."
},
"subname": {
"type": "string",
"maxLength": 178,
"description": "Only RRsets at this subname (\"\" or \"@\" = the zone apex). Omit to include every subname."
}
}
}WRITE (overwrites): set ONE RRset to exactly the given TTL and records, creating it if it does not exist and REPLACING all its current records if it does. It goes live in DNS immediately; a wrong value can take a site or mail offline. The previous RRset is read first and returned as `previous` so the change can be undone with another call. An empty record list is refused (this tool never deletes), and the apex NS and DNSSEC records cannot be changed. Subject to deSEC's write limits (15/min, 300/day per domain). PUT /domains/{name}/rrsets/ with a one-element array.
| Argument | Type | Description |
|---|---|---|
| ttl* | integer | TTL in seconds, at most 86400. Not below the domain's minimum_ttl (usually 3600): deSEC rejects lower values. |
| type* | string | Record type (uppercase). DNSSEC types and SOA are managed by deSEC and cannot be written. |
| domain* | string | Domain name in this deSEC account, e.g. example.com (see desec_list_domains). |
| records* | array | Record contents in zone-file format, at least one (an empty list would delete the RRset and is refused). Names need a trailing dot ("10 mx.example.com."), TXT needs quotes ("\"v=spf1 -all\""). |
| subname | string | Subname relative to the domain: "www", "_443._tcp.www", "*" for a wildcard. Empty or "@" = the zone apex. Never the full name. |
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"domain",
"type",
"ttl",
"records"
],
"properties": {
"ttl": {
"type": "integer",
"maximum": 86400,
"minimum": 1,
"description": "TTL in seconds, at most 86400. Not below the domain's minimum_ttl (usually 3600): deSEC rejects lower values."
},
"type": {
"enum": [
"A",
"AAAA",
"CAA",
"CNAME",
"HTTPS",
"LOC",
"MX",
"NAPTR",
"NS",
"OPENPGPKEY",
"PTR",
"SMIMEA",
"SPF",
"SRV",
"SSHFP",
"SVCB",
"TLSA",
"TXT",
"URI"
],
"type": "string",
"description": "Record type (uppercase). DNSSEC types and SOA are managed by deSEC and cannot be written."
},
"domain": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "Domain name in this deSEC account, e.g. example.com (see desec_list_domains)."
},
"records": {
"type": "array",
"items": {
"type": "string",
"maxLength": 4000,
"minLength": 1
},
"maxItems": 100,
"minItems": 1,
"description": "Record contents in zone-file format, at least one (an empty list would delete the RRset and is refused). Names need a trailing dot (\"10 mx.example.com.\"), TXT needs quotes (\"\\\"v=spf1 -all\\\"\")."
},
"subname": {
"type": "string",
"maxLength": 178,
"description": "Subname relative to the domain: \"www\", \"_443._tcp.www\", \"*\" for a wildcard. Empty or \"@\" = the zone apex. Never the full name."
}
}
}