For the complete documentation index, see llms.txt. This page is also available as Markdown.

Dynu

Configuration

To use this provider, add an entry to creds.json with TYPE set to DYNU along with your Dynu API key. You can generate an API key from the Dynu Control Panel under API Credentials.

Example:

creds.json
{
  "dynu": {
    "TYPE": "DYNU",
    "api_key": "your-dynu-api-key"
  }
}

Metadata

This provider does not recognize any special metadata fields unique to Dynu.

Usage

An example configuration:

dnsconfig.js
var REG_NONE = NewRegistrar("none");
var DSP_DYNU = NewDnsProvider("dynu");

D("example.com", REG_NONE, DnsProvider(DSP_DYNU),
    A("test", "1.2.3.4"),
    MX("@", 10, "mail.example.com."),
    TXT("@", "v=spf1 include:example.com ~all"),
);

Activation

  1. Log in to the Dynu Control Panel.

  2. Navigate to API Credentials.

  3. Generate a new API key.

  4. Add the key to creds.json as shown above.

Supported record types

Dynu supports the following DNS record types. The Provider column indicates whether the DNSControl Dynu provider currently implements that type.

Type
Description
Provider
Notes

A

IPv4 address

βœ…

AAAA

IPv6 address

βœ…

AFSDB

AFS Database

βœ…

CAA

Certification Authority Authorization

βœ…

CERT

Certificate

βœ…

CNAME

Canonical Name

βœ…

DHCID

DHCP Identifier

βœ…

DNAME

Delegation Name

βœ…

HINFO

System Information

βœ…

HTTPS

HTTPS Service Binding

βœ…

KEY

Public Key

βœ…

LOC

Location Information

βœ…

MX

Mail Exchange

βœ…

NAPTR

Name Authority Pointer

βœ…

OPENPGPKEY

OpenPGP Key

βœ…

PTR

Pointer

βœ…

RP

Responsible Person

βœ…

SMIMEA

S/MIME Certificate Association

βœ…

SPF

Sender Policy Framework

βœ…

Normalised to TXT on read

SRV

Service

βœ…

SSHFP

Secure Shell Fingerprint

βœ…

SVCB

Service Binding

βœ…

TLSA

Transport Level Security

βœ…

TXT

Text

βœ…

Empty TXT not supported

URI

Uniform Resource Identifier

βœ…

Caveats

Apex NS records

Dynu manages its own authoritative nameservers (ns1.dynu.com through ns6.dynu.com) and does not permit creating, modifying, or deleting apex NS records via the API. DNSControl will not attempt to manage them. Subdomain NS delegations are fully supported.

NS record TTL

Dynu forces all NS records to a TTL of 3600, regardless of the value specified in dnsconfig.js. TTL-only changes to NS records are silently ignored to maintain idempotency.

SPF records

Dynu stores SPF records as a distinct record type internally, but the DNSControl provider normalises them to TXT on read. Write them as TXT records in dnsconfig.js.

Wildcard records

Dynu does not support wildcard DNS records (e.g. *.example.com) via the API. DNSControl will reject them at audit time.

SOA records

Dynu manages SOA records internally. They are not returned by the API and cannot be modified via DNSControl.

Empty TXT records

Dynu rejects TXT records with an empty string value. DNSControl will reject them at audit time.

Null MX targets

MX records with a null target (RFC 7505, priority 0, target .) are fully supported including direct updates.

Feature Summary

Last updated