Skip to content
Snippets Groups Projects
Select Git revision
  • 0e0bdf1f52263c2d47f9356d4be29f0a810d7cb3
  • master default protected
  • v1.14.7
  • v1.14.6
  • v1.14.5
  • v1.14.4
  • v1.14.3
  • v1.14.2
  • v1.14.1
  • v1.14.0
  • v1.13.2
  • v1.13.1
  • v1.13.0
  • v1.12.1
  • v1.12.0
  • v1.11.1
  • v1.11.0
  • v1.10.0
  • v1.9.2
  • v1.9.1
  • v1.9.0
  • v1.8.4
22 results

README-dnsforwardzone.md

Blame
  • README-dnsrecord.md 12.68 KiB

    DNSRecord module

    Description

    The dnsrecord module allows management of DNS records and is as compatible as possible with the Ansible upstream ipa_dnsrecord module, but provide some other features like multiple record management in one execution and support for more DNS record types.

    Features

    • DNS record management.

    Supported FreeIPA Versions

    FreeIPA versions 4.4.0 and up are supported by the ipadnsrecord module.

    Requirements

    Controller

    • Ansible version: 2.8+

    Node

    • Supported FreeIPA version (see above)

    Usage

    Example inventory file

    [ipaserver]
    ipaserver.example.com

    Example playbook to ensure an AAAA record is present:

    ---
    - ipadnsrecord:
        ipaadmin_password: SomeADMINpassword
        name: host01
        zone_name: example.com
        record_type: 'AAAA'
        record_value: '::1'

    Example playbook to ensure an AAAA record is present, with a TTL of 300:

    ---
    - ipadnsrecord:
        ipaadmin_password: SomeADMINpassword
        name: host01
        zone_name: example.com
        record_type: 'AAAA'
        record_value: '::1'
        record_ttl: 300

    Example playbook to ensure an AAAA record is present, with a reverse PTR record: