Manage all your domains using Rust
We've got the best API to manage your domain portfolio while saving time and money.
A quick tour of our Rust API in under 6 minutes.
A quick tour of our Rust API in under 6 minutes.
Fast and easy to use.
Quickly check domain availability, add a DNS record, and request an SSL certificate directly from Rust.
Never regretted signing up long ago.
Marius Maximus, DevOpsConfiguring server-wide DNS template is made simple for our Enterprise Network with DNSimple.
Rithika G., Cloud EngineerA dependable service with amazing technical support.
Valters J., DevOps EngineerBest DNS Hosting Company by far.
Dorian Kind, Director of Data & TechnologiesDeveloper tips
Open a free account in our Sandbox environment. Write, test, and verify your code before you move to production.
Test domain registration and issuing SSL certificates at no charge. Domains registered in Sandbox do not resolve, and SSL certificates should not be installed in any production environment.
Use our testing credit card to select a plan that matches the features that you'd like to test.
Follow this guide to obtain your token for your API calls.
Create an account in SandboxStart by writing small scripts that explore how you can use the API. Writing a custom report is a good way to get exposure to different API endpoints and how you can combine those.
/// Print my domains with expiration date, and associated SSL certificate if any. use dnsimple::dnsimple::{Client, new_client}; let domains = client .domains() .list_domains(account_id, None) .unwrap() .data .unwrap(); for domain in domains { print!("- {}: {}", domain.name, domain.state); if domain.state == "registered" { print!("(expires on: {:?}", domain.expires_at); } let certificates = client .certificates() .list_certificates(account_id, &*domain.name, None) .unwrap() .data .unwrap(); if !certificates.is_empty() { for certificate in certificates { print!( " - {}: {} (years till expiry: {}", certificate.common_name, certificate.state, certificate.years ); if certificate.auto_renew { print!(", but will auto renew"); } print!(")"); } } }
Managing domains with similar configurations can be error prone. Use the Rust API to automate DNS changes across multiple domains with DNS templates.
In the script below, we've created a template to apply to any domain after registration.
/// Point a domain to hosting after registration let payload = TemplatePayload { name: String::from("Domain registration template"), sid: String::from("after-domain-registration-template"), description: Some(String::from("Point a domain to hosting after registration")), }; let template = client .templates() .create_template(account_id, payload) .unwrap() .data .unwrap(); let record = TemplateRecordPayload { name: String::from("a"), record_type: String::from("A"), content: String::from("192.168.1.1"), ttl: Some(600), }; client .templates() .create_template_record(account_id, template.sid, record); /// To keep this example short, registering the domain is omitted. /// Apply the template to the domain client.templates().apply_template(account_id, template.sid, domain)
Reliable DNS at the right price
If you manage 100+ domains, get in touch.
We offer flexible plans with adjusted rates and discounts for Enterprise and Resellers.
Integrate in minutes with our API
Update DNS records, request SSL certificates, and transfer or register new domains from Rust.
Manage your domains from Rust.
Start your free 30-day trialPhoto by Christina @ wocintechchat.com on Unsplash