Misaka.io
Configuration
To use this provider, add an entry to creds.json with TYPE set to MISAKA along with a Misaka.io API token.
Example:
{
"misaka": {
"TYPE": "MISAKA",
"api_token": "your-misaka-api-token"
}
}You can also use environment variables:
export MISAKA_API_TOKEN=XXXXXXXXX{
"misaka": {
"TYPE": "MISAKA",
"api_token": "$MISAKA_API_TOKEN"
}
}Metadata
This provider does not recognize any special metadata fields unique to Misaka.io.
Usage
An example configuration:
Activation
DNSControl talks to the Misaka.io v3 API, which needs an API token.
Sign in to the Misaka.io console and open the API page of your account.
Create a token. A token belongs to one team, and DNSControl manages the zones of that team.
Put it in
creds.jsonas shown above.
The team must have the DNS service enabled. Otherwise every request is answered with 403 DNS service is not enabled for this Team or your role lacks access.
Supported record types
A
IPv4 address record
AAAA
IPv6 address record
ALIAS
Alias record, served as the addresses of its target
CAA
Certification Authority Authorization record
CNAME
Canonical name (alias) record
DNAME
Delegation name record
MX
Mail exchange record
NS
Name server record, for a delegated child only
PTR
Pointer record
SRV
Service record
SSHFP
SSH fingerprint record
TLSA
TLSA record
TXT
Text record
No other record type is supported.
New domains
If a domain does not exist in your Misaka.io account, DNSControl will add it with the push command. Misaka.io only accepts names under a public suffix.
Limitations
TTLs belong to the record set
A TTL is a property of the record set, not of a single value in it, so every value under one label and type shares one TTL. This is what DNSControl already requires of a configuration, so it only matters when reading a zone that was edited elsewhere.
Zone apex
The SOA record and the NS records at the zone apex are managed by Misaka.io, so DNSControl leaves both alone:
They are not reported by
dnscontrol get-zones.An apex
NSrecord that matches one of the zone's nameservers is dropped silently. Any other apexNSrecord is dropped with a warning. Dual hosting a zone with a second DNS provider is therefore not possible.
The provider reports the nameservers from the zone's apex NS records, so no explicit NAMESERVER() is needed for DNSControl to tell the registrar where to delegate.
Record sets DNSControl does not manage
Misaka.io record sets can carry features that DNSControl does not model. Rather than overwrite them on the next change, reading a zone fails with an error that names the record set when it finds one of these:
GeoDNS
filtersan
alias(CNAME flattening of a record set)a disabled record set (
enabled: false)a protected record set
a record set without any values
a hostname value of
@(Misaka.io publishes it as the literal name\@.; use the zone's full name instead)a record set whose name ends with a dot
Change or remove the record set in the Misaka.io console, then run DNSControl again.
Record set names
Misaka.io stores record set names exactly as they were entered. DNSControl reports a name such as Www in lower case, as www, and changes or deletes the record set under the name Misaka.io knows it by.
TTL
Misaka.io accepts TTLs up to 2147483647. A larger TTL is lowered to 2147483647.
DNSSEC
AUTODNSSEC_ON is not implemented. DNSSEC is switched on per zone in the Misaka.io console.
Feature Summary
Provider Type
Official Support: β
DNS Provider: β
Registrar: β
Provider API
DNSSEC
AUTODNSSEC: βDNSKEY: βDS: β
Last updated