Show DNS zone of a domain

The DNS zone of one domain at manitu, as BIND zone file text (raw or compiled).

RReadIdempotentbetaNeeds service_domain
Tool
manitu_domain_dns_zone_geton https://mcp.manitu.de/mcp
POST
/v1/domain/dns/zone/geton https://api.manitu.de
Try it
readOnlyHint truedestructiveHint falseidempotentHint trueopenWorldHint false

Returns the DNS zone of a domain at manitu, by its name, as BIND zone file text - all records (A, AAAA, MX, TXT, CNAME, ...) in one piece, for answering what DNS says about a name or mail, or for checking a record. Only for a zone manitu holds as primary (dns.zone "primary" in manitu_domain_get); otherwise refused with a conflict (zone_not_primary_at_manitu) - the DNS records are kept elsewhere then. format raw (default) is the zone file as kept, with relative names ("www" means www.<domain>, "@" the domain itself); compiled is what the name server serves, every name absolute. Read-only - nothing is changed. To change the zone, read it with format raw and pass zone_data and zone_revision to manitu_domain_dns_zone_set.

namestringrequired

The domain name, with international characters or in ASCII.

min length 1max length 253
formatstring

raw (default): the zone file as it is kept - relative names, $TTL, comments. compiled: as the name server serves it - every name absolute, every TTL written out.

One of raw compiled
namestringrequired

The domain, with international characters.

formatstringrequired
One of raw compiled
zone_datastringrequired

The zone, as BIND zone file text.

zone_revisionstring | nullrequired

The version of the zone read (raw only, else null) - manitu_domain_dns_zone_set asks it back.

One of X-API-Key, Authorization: Bearer … - never more than one in a request. More

namestringrequired

The domain name, with international characters or in ASCII.

min length 1max length 253
formatstring

raw (default): the zone file as it is kept - relative names, $TTL, comments. compiled: as the name server serves it - every name absolute, every TTL written out.

One of raw compiled
namestringrequired

The domain, with international characters.

formatstringrequired
One of raw compiled
zone_datastringrequired

The zone, as BIND zone file text.

zone_revisionstring | nullrequired

The version of the zone read (raw only, else null) - manitu_domain_dns_zone_set asks it back.

200Success.400The request does not match the declared input schema.401No credential was presented, or it was not recognised.403The credential is not permitted to use this operation.500The server failed. Nothing about the request was wrong. Whether a change took effect is not known - check before trying it again.503The channel this operation forwards through is unavailable.