Show DNS zone of a domain
The DNS zone of one domain at manitu, as BIND zone file text (raw or compiled).
manitu_domain_dns_zone_get on https://mcp.manitu.de/mcpAnnotations as tools/list sends them
Description for the model
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.
Arguments
namestringrequiredThe domain name, with international characters or in ASCII.
formatstringraw (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.
Result structuredContent, checked against the schema
namestringrequiredThe domain, with international characters.
formatstringrequiredzone_datastringrequiredThe zone, as BIND zone file text.
zone_revisionstring | nullrequiredThe version of the zone read (raw only, else null) - manitu_domain_dns_zone_set asks it back.
Authentication
One of X-API-Key, Authorization: Bearer … - never more than one in a request. More
Request body JSON; unknown fields are refused
namestringrequiredThe domain name, with international characters or in ASCII.
formatstringraw (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.
Response in data; the rest of the body as on every call
namestringrequiredThe domain, with international characters.
formatstringrequiredzone_datastringrequiredThe zone, as BIND zone file text.
zone_revisionstring | nullrequiredThe version of the zone read (raw only, else null) - manitu_domain_dns_zone_set asks it back.
Statuses
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.