Hey folks. I’d like to share a peek at our upcoming global DNS service.
We’re trying to make DNS pleasant, especially if you’re offering custom domains to your customers. Hosted zones will be managed with
flyctl or our GraphQL api, just like apps. We can automate your app’s DNS configuration for SSL certs and IPs for you. Or you can use this as a standalone DNS host for services not running on fly.
Our preview features are pretty standard… you create a hosted zone, add some records, then point your domain’s name servers at ours. For ongoing DNS management we have a neat feature: transactional zone file imports. This lets you store declarative DNS configuration as a zone file along with your source code and safely apply changes on release from your CI server.
Here’s a quick look:
# create a zone flyctl dns zones create <org> example.com # export the zone to a zone file flyctl dns records export <org> example.com > zonefile.txt # add some records... # echo "www 1h IN A 220.127.116.11 > zonefile.txt # import flyctl dns records import <org> example.com ./zonefile.txt
We’re also building domain registration and management apis that’ll integrate with our DNS. This is still early in development and initially focused on helping saas apps with custom domains. If you’re interested in offering seamless domain search, registration, and configuration to your customers, let us know!