Skip to main content

Ansible ClouDNS

Host UK
Ansible DNS Automation

An Ansible collection for managing ClouDNS DNS records through code. Built on the official ClouDNS PHP SDK, it lets you create, update, and delete DNS records across all your domains without clicking through web interfaces.

Features

DNS Record Management

Create, update, and delete A, AAAA, CNAME, MX, and TXT records

Flexible Execution

Run with local PHP or containerised via Docker

Official SDK Integration

Built on the official ClouDNS PHP SDK

Ansible Native

Fully compatible with Ansible 2.9+

Installation

ansible-galaxy collection install git+https://github.com/ClouDNS/cloudns-php-sdk.git

Usage

- name: Create A record
  host_uk.cloudns.record:
    auth_id: "{{ cloudns_auth_id }}"
    auth_password: "{{ cloudns_auth_password }}"
    domain: example.com
    record_type: A
    host: www
    record: 1.2.3.4
    state: present

More from Host UK

View all projects →

Fancy helping out?

Spotted a bug? Got an idea? We'd love to hear from you.

Read the contributing guide →