======================================
Community DNS Collection Release Notes
======================================

.. contents:: Topics

v4.0.1
======

Release Summary
---------------

Maintenance release with updated PSL.

Bugfixes
--------

- Update Public Suffix List.

v4.0.0
======

Release Summary
---------------

This new major release removes support for ansible-core < 2.18, and thus Python < 3.8, and for dnspython < 2.0.0.'

Minor Changes
-------------

- Migrate codebase to Python 3 only (https://github.com/ansible-collections/community.dns/pull/319, https://github.com/ansible-collections/community.dns/pull/320, https://github.com/ansible-collections/community.dns/pull/321).

Breaking Changes / Porting Guide
--------------------------------

- Ansible-core versions before 2.17 are no longer supported by the collection. This also means that all Python versions before 3.8 are no longer supported (https://github.com/ansible-collections/community.dns/pull/317).

Removed Features (previously deprecated)
----------------------------------------

- Drop support for dnspython < 2.0.0. All modules and plugins that require dnspython will no longer work with older versions (https://github.com/ansible-collections/community.dns/pull/323).

Bugfixes
--------

- Update Public Suffix List.
- Update Public Suffix List.
- nameserver_info, nameserver_record_info, wait_for_txt - fix handling of DNSPython ``Nameserver`` objects when default resolver addresses are used (https://github.com/ansible-collections/community.dns/pull/321).

v3.5.4
======

Release Summary
---------------

Regular maintenance release with updated PSL.

Bugfixes
--------

- Update Public Suffix List.

v3.5.3
======

Release Summary
---------------

Bugfix release with updated PSL.

Bugfixes
--------

- Update Public Suffix List.
- hetzner_* modules and hetzner_dns_records inventory plugin - retry on network problems and certain HTTP codes (502, 503, 504) (https://github.com/ansible-collections/community.dns/pull/313).
- hetzner_dns_record_sets - when doing batch updates, do not request status updates for too many actions at once (https://github.com/ansible-collections/community.dns/issues/312, https://github.com/ansible-collections/community.dns/pull/313).
- hosttech_* modules and hosttech_dns_records inventory plugin - when using the JSON API, retry on network problems and certain HTTP codes (502, 503, 504) (https://github.com/ansible-collections/community.dns/pull/313).

v3.5.2
======

Release Summary
---------------

Regular maintenance release with updated PSL.

Bugfixes
--------

- Update Public Suffix List.

v3.5.1
======

Release Summary
---------------

Maintenance release with updated PSL.

Bugfixes
--------

- Update Public Suffix List.
- converter module utils - add ``stacklevel=2`` to Python warnings. This affects third-party users of the module utils outside this collection (https://github.com/ansible-collections/community.dns/pull/310).

v3.5.0
======

Release Summary
---------------

Bugfix and feature release.

Minor Changes
-------------

- Hetzner DNS modules and plugins - support the `new Hetzner DNS API <https://docs.hetzner.com/networking/dns/faq/beta/>`__ (https://github.com/ansible-collections/community.dns/pull/301).

Bugfixes
--------

- hetzner_dns_record_set, hosttech_dns_record_set - fix ``on_existing != 'replace'`` mis-triggering when ``state=absent`` and the values to delete do not show up in the list of records (https://github.com/ansible-collections/community.dns/pull/301).
- hosttech_record_sets, hetzner_record_sets - ensure stable order also with Python < 3.6 (https://github.com/ansible-collections/community.dns/pull/301).
- lookup_rfc8427 lookup plugin - remove unused code (https://github.com/ansible-collections/community.dns/pull/308).
- remove_public_suffix filter plugin - fix plugin name in error message (https://github.com/ansible-collections/community.dns/pull/308).
- remove_registrable_domain filter plugin - fix plugin name in error message (https://github.com/ansible-collections/community.dns/pull/308).

v3.4.2
======

Release Summary
---------------

Maintenance release with updated PSL.

Bugfixes
--------

- Update Public Suffix List.

v3.4.1
======

Release Summary
---------------

Maintenance release.

Bugfixes
--------

- Update Public Suffix List.

v3.4.0
======

Release Summary
---------------

Feature and maintenance release.

Minor Changes
-------------

- lookup_* plugins - support ``type=HTTPS`` and ``type=SVCB`` (https://github.com/ansible-collections/community.dns/issues/299, https://github.com/ansible-collections/community.dns/pull/300).
- nameserver_record_info - support ``type=HTTPS`` and ``type=SVCB`` (https://github.com/ansible-collections/community.dns/issues/299, https://github.com/ansible-collections/community.dns/pull/300).
- nameserver_record_info - the return value ``results[].result[].values`` has been renamed to ``results[].result[].entries``. The old name will still be available for a longer time (https://github.com/ansible-collections/community.dns/issues/289, https://github.com/ansible-collections/community.dns/pull/298).
- wait_for_txt - the option ``records[].values`` now has an alias ``records[].entries`` (https://github.com/ansible-collections/community.dns/pull/298).
- wait_for_txt - the return value ``records[].values`` has been renamed to ``records[].entries``. The old name will still be available for a longer time (https://github.com/ansible-collections/community.dns/issues/289, https://github.com/ansible-collections/community.dns/pull/298).

Bugfixes
--------

- Avoid using ``ansible.module_utils.six`` in more places to avoid deprecation warnings with ansible-core 2.20 (https://github.com/ansible-collections/community.dns/pull/291).
- Update Public Suffix List.

New Plugins
-----------

Lookup
~~~~~~

- community.dns.lookup_rfc8427 - Look up DNS records and return RFC 8427 JSON format.

v3.3.4
======

Release Summary
---------------

Maintenance release with updated PSL.

Minor Changes
-------------

- Note that some new code in ``plugins/module_utils/_six.py`` is MIT licensed (https://github.com/ansible-collections/community.dns/pull/287).

Bugfixes
--------

- Avoid using ``ansible.module_utils.six`` to avoid deprecation warnings with ansible-core 2.20 (https://github.com/ansible-collections/community.dns/pull/287).
- Update Public Suffix List.

v3.3.3
======

Release Summary
---------------

Regular maintenance release with updated PSL.

Bugfixes
--------

- Update Public Suffix List.

v3.3.2
======

Release Summary
---------------

Bugfix and maintenance release with updated PSL.

Bugfixes
--------

- Update Public Suffix List.
- various DNS lookup plugins and modules - improve handling of invalid nameserver IPs/names (https://github.com/ansible-collections/community.dns/issues/282, https://github.com/ansible-collections/community.dns/pull/284).

v3.3.1
======

Release Summary
---------------

Bugfix and maintenance release with updated PSL.

Bugfixes
--------

- Avoid deprecated functionality in ansible-core 2.20 (https://github.com/ansible-collections/community.dns/pull/280).
- Update Public Suffix List.
- nameserver_record_info - removed type ``ALL``, which never worked (https://github.com/ansible-collections/community.dns/issues/278, https://github.com/ansible-collections/community.dns/pull/279).

v3.3.0
======

Release Summary
---------------

Feature release with support for AdGuard Home.

Bugfixes
--------

- Update Public Suffix List.

New Modules
-----------

- community.dns.adguardhome_rewrite - Add, update or delete DNS rewrite rules from AdGuardHome.
- community.dns.adguardhome_rewrite_info - Retrieve DNS rewrite rules from AdGuardHome.

v3.2.7
======

Release Summary
---------------

Maintenance release with updated PSL.

Bugfixes
--------

- Update Public Suffix List.

v3.2.6
======

Release Summary
---------------

Regular bugfix and maintenance release with updated PSL.

Bugfixes
--------

- Update Public Suffix List.
- hetzner_dns_records inventory plugin - avoid using deprecated option when templating options (https://github.com/ansible-collections/community.dns/pull/266).
- hosttech_dns_records inventory plugin - avoid using deprecated option when templating options (https://github.com/ansible-collections/community.dns/pull/266).

v3.2.5
======

Release Summary
---------------

Regular maintenance release with bugfixes and updated PSL.

Bugfixes
--------

- Update Public Suffix List.
- lookup and lookup_as_dict lookup plugins - removed type ``ALL``, which never worked (https://github.com/ansible-collections/community.dns/issues/264, https://github.com/ansible-collections/community.dns/pull/265).

v3.2.4
======

Release Summary
---------------

Regular maintenance release with updated PSL.

Bugfixes
--------

- Update Public Suffix List.

v3.2.3
======

Release Summary
---------------

Maintenance release with updated PSL.

Bugfixes
--------

- Update Public Suffix List.

v3.2.2
======

Release Summary
---------------

Regular maintenance release with updated PSL.

Bugfixes
--------

- Update Public Suffix List.

v3.2.1
======

Release Summary
---------------

Maintenance release with updated PSL.

Bugfixes
--------

- Update Public Suffix List.

v3.2.0
======

Release Summary
---------------

Feature/maintenance release with updated PSL.

Minor Changes
-------------

- all filter, inventory, and lookup plugins, and plugin utils - add type hints to all Python 3 only code (https://github.com/ansible-collections/community.dns/pull/239).
- get_public_suffix, get_registrable_domain, remove_public_suffix, and remove_registrable_domain filter plugin - validate parameters, and correctly handle byte strings when passed for input (https://github.com/ansible-collections/community.dns/pull/239).

Bugfixes
--------

- Fix various issues and potential bugs pointed out by linters (https://github.com/ansible-collections/community.dns/pull/242, https://github.com/ansible-collections/community.dns/pull/243).
- Update Public Suffix List.

v3.1.2
======

Release Summary
---------------

Regular maintenance release with updated PSL.

Bugfixes
--------

- Update Public Suffix List.

v3.1.1
======

Release Summary
---------------

Maintenance release with updated documentation and PSL.

Bugfixes
--------

- Update Public Suffix List.

v3.1.0
======

Release Summary
---------------

Feature release with updated PSL.

Minor Changes
-------------

- all controller code - modernize Python code (https://github.com/ansible-collections/community.dns/pull/231).

Bugfixes
--------

- Update Public Suffix List.

New Plugins
-----------

Filter
~~~~~~

- community.dns.reverse_pointer - Convert an IP address into a DNS name for reverse lookup.

Lookup
~~~~~~

- community.dns.reverse_lookup - Reverse-look up IP addresses.

v3.0.7
======

Release Summary
---------------

Regular maintenance release with updated PSL.

Bugfixes
--------

- Update Public Suffix List.

v3.0.6
======

Release Summary
---------------

Regular maintenance release.

Bugfixes
--------

- Update Public Suffix List.

v3.0.5
======

Release Summary
---------------

Regular maintenance release with updated PSL.

Bugfixes
--------

- Update Public Suffix List.

v3.0.4
======

Release Summary
---------------

Regular maintenance release with updated PSL.

Bugfixes
--------

- Update Public Suffix List.

v3.0.3
======

Release Summary
---------------

Maintenance release with updated PSL.

Bugfixes
--------

- Update Public Suffix List.

v3.0.2
======

Release Summary
---------------

Maintenance release with updated PSL.

Bugfixes
--------

- Update Public Suffix List.

v3.0.1
======

Release Summary
---------------

Maintenance release with updated PSL.

Bugfixes
--------

- Update Public Suffix List.

v3.0.0
======

Release Summary
---------------

New major release.

Major Changes
-------------

- The ``community.dns`` collection now depends on the ``community.library_inventory_filtering_v1`` collection. This utility collection provides host filtering functionality for inventory plugins. If you use the Ansible community package, both collections are included and you do not have to do anything special. If you install the collection with ``ansible-galaxy collection install``, it will be installed automatically. If you install the collection by copying the files of the collection to a place where ansible-core can find it, for example by cloning the git repository, you need to make sure that you also have to install the dependency if you are using the inventory plugins (https://github.com/ansible-collections/community.dns/pull/196).

Minor Changes
-------------

- inventory plugins - add ``filter`` option which allows to include and exclude hosts based on Jinja2 conditions (https://github.com/ansible-collections/community.dns/pull/196).
- lookup, lookup_as_dict - it is now possible to configure whether the input should be treated as an absolute domain name (``search=false``), or potentially as a relative domain name (``search=true``)  (https://github.com/ansible-collections/community.dns/issues/200, https://github.com/ansible-collections/community.dns/pull/201).

Breaking Changes / Porting Guide
--------------------------------

- The default for the ``txt_character_encoding`` options in various modules and plugins changed from ``octal`` to ``decimal`` (https://github.com/ansible-collections/community.dns/pull/196).
- inventory plugins - ``filters`` is now no longer an alias of ``simple_filters``, but a new, different option (https://github.com/ansible-collections/community.dns/pull/196).
- inventory plugins - the ``plugin`` option is now required (https://github.com/ansible-collections/community.dns/pull/196).
- lookup, lookup_as_dict - the default for ``search`` changed from ``false`` (implicit default for community.dns 2.x.y) to ``true`` (https://github.com/ansible-collections/community.dns/issues/200, https://github.com/ansible-collections/community.dns/pull/201).

Removed Features (previously deprecated)
----------------------------------------

- The collection no longer supports Ansible, ansible-base, and ansible-core releases that are currently End of Life at the time of the 3.0.0 release. This means that Ansible 2.9, ansible-base 2.10, ansible-core 2.11, ansible-core 2.12, and ansible-core 2.13 are no longer supported. The collection might still work with these versions, but it can stop working at any moment without advance notice, and this will not be considered a bug (https://github.com/ansible-collections/community.dns/pull/196).
- hetzner_dns_record_set, hetzner_dns_record - the deprecated alias ``name`` of the prefix option was removed (https://github.com/ansible-collections/community.dns/pull/196).
- hosttech_dns_records - the redirect to the ``hosttech_dns_record_sets`` module has been removed (https://github.com/ansible-collections/community.dns/pull/196).

Bugfixes
--------

- Update Public Suffix List.

v2.9.0
======

Release Summary
---------------

Feature and bugfix release.

Bugfixes
--------

- Update Public Suffix List.
- inventory plugins - add unsafe wrapper to avoid marking strings that do not contain ``{`` or ``}`` as unsafe, to work around a bug in AWX (https://github.com/ansible-collections/community.dns/pull/197).

New Plugins
-----------

Filter
~~~~~~

- community.dns.quote_txt - Quotes a string to use as a TXT record entry
- community.dns.unquote_txt - Unquotes a TXT record entry to a string

v2.8.3
======

Release Summary
---------------

Bugfix release.

Bugfixes
--------

- DNS record modules, inventory plugins - fix the TXT entry encoder to avoid splitting up escape sequences for quotes and backslashes over multiple TXT strings (https://github.com/ansible-collections/community.dns/issues/190, https://github.com/ansible-collections/community.dns/pull/191).
- Update Public Suffix List.

v2.8.2
======

Release Summary
---------------

Bugfix release.

Security Fixes
--------------

- hosttech_dns_records and hetzner_dns_records inventory plugins - make sure all data received from the remote servers is marked as unsafe, so remote code execution by obtaining texts that can be evaluated as templates is not possible (https://www.die-welt.net/2024/03/remote-code-execution-in-ansible-dynamic-inventory-plugins/, https://github.com/ansible-collections/community.dns/pull/189).

Bugfixes
--------

- Update Public Suffix List.

v2.8.1
======

Release Summary
---------------

Maintenance release with updated PSL.

Bugfixes
--------

- Update Public Suffix List.

v2.8.0
======

Release Summary
---------------

Feature and maintenance release with updated PSL.

Minor Changes
-------------

- hetzner_dns_records and hosttech_dns_records inventory plugins - the ``filters`` option has been renamed to ``simple_filters``. The old name still works until community.hrobot 2.0.0. Then it will change to allow more complex filtering with the ``community.library_inventory_filtering_v1`` collection's functionality (https://github.com/ansible-collections/community.dns/pull/181).

Deprecated Features
-------------------

- hetzner_dns_records and hosttech_dns_records inventory plugins - the ``filters`` option has been renamed to ``simple_filters``. The old name will stop working in community.hrobot 2.0.0 (https://github.com/ansible-collections/community.dns/pull/181).

Bugfixes
--------

- Update Public Suffix List.

v2.7.0
======

Release Summary
---------------

Bugfix and feature release with updated PSL.

Minor Changes
-------------

- nameserver_info and nameserver_record_info - add ``server`` parameter to specify custom DNS servers (https://github.com/ansible-collections/community.dns/pull/168, https://github.com/ansible-collections/community.dns/pull/178).
- wait_for_txt - add ``server`` parameter to specify custom DNS servers (https://github.com/ansible-collections/community.dns/pull/178).

Bugfixes
--------

- Update Public Suffix List.
- wait_for_txt, nameserver_info, nameserver_record_info - when looking up nameservers for a domain, do not treat ``NXDOMAIN`` as a fatal error (https://github.com/ansible-collections/community.dns/pull/177).

v2.6.4
======

Release Summary
---------------

Bugfix and maintenance version.

Bugfixes
--------

- Update Public Suffix List.
- nameserver_record_info - fix crash when more than one record is retrieved (https://github.com/ansible-collections/community.dns/pull/172).

v2.6.3
======

Release Summary
---------------

Maintenance release with updated PSL.

Bugfixes
--------

- HTTP module utils - make compatible with ansible-core 2.17 (https://github.com/ansible-collections/community.dns/pull/165).
- Update Public Suffix List.

v2.6.2
======

Release Summary
---------------

Maintenance release with updated PSL.

Bugfixes
--------

- Update Public Suffix List.

v2.6.1
======

Release Summary
---------------

Maintenance release with updated PSL.

Bugfixes
--------

- Update Public Suffix List.

v2.6.0
======

Release Summary
---------------

Feature release with an updated Public Suffix List.

Minor Changes
-------------

- wait_for_txt - add ``servfail_retries`` parameter that allows retrying after SERVFAIL errors (https://github.com/ansible-collections/community.dns/pull/159).
- wait_for_txt, resolver module utils - use `EDNS <https://en.wikipedia.org/wiki/Extension_Mechanisms_for_DNS>`__ (https://github.com/ansible-collections/community.dns/pull/158).

Bugfixes
--------

- Update Public Suffix List.
- wait_for_txt, resolver module utils - improve error handling (https://github.com/ansible-collections/community.dns/pull/158).

New Plugins
-----------

Lookup
~~~~~~

- community.dns.lookup - Look up DNS records
- community.dns.lookup_as_dict - Look up DNS records as dictionaries

New Modules
-----------

- community.dns.nameserver_info - Look up nameservers for a DNS name
- community.dns.nameserver_record_info - Look up all records of a type from all nameservers for a DNS name

v2.5.7
======

Release Summary
---------------

Regular maintenance release with updated Public Suffix List.

Bugfixes
--------

- Update Public Suffix List.

v2.5.6
======

Release Summary
---------------

Maintenance release.

From this version on, community.dns is using the new `Ansible semantic markup
<https://docs.ansible.com/projects/ansible/devel/dev_guide/developing_modules_documenting.html#semantic-markup-within-module-documentation>`__
in its documentation. If you look at documentation with the ansible-doc CLI tool
from ansible-core before 2.15, please note that it does not render the markup
correctly. You should be still able to read it in most cases, but you need
ansible-core 2.15 or later to see it as it is intended. Alternatively you can
look at `the devel docsite <https://docs.ansible.com/projects/ansible/devel/collections/community/dns/>`__
for the rendered HTML version of the documentation of the latest release.

Known Issues
------------

- Ansible markup will show up in raw form on ansible-doc text output for ansible-core before 2.15. If you have trouble deciphering the documentation markup, please upgrade to ansible-core 2.15 (or newer), or read the HTML documentation on https://docs.ansible.com/projects/ansible/devel/collections/community/dns/.

v2.5.5
======

Release Summary
---------------

Maintenance release with updated PSL.

Bugfixes
--------

- Update Public Suffix List.

v2.5.4
======

Release Summary
---------------

Maintenance release with updated PSL.

Bugfixes
--------

- Update Public Suffix List.

v2.5.3
======

Release Summary
---------------

Maintenance release with updated PSL.

Bugfixes
--------

- Update Public Suffix List.

v2.5.2
======

Release Summary
---------------

Maintenance release with improved documentation and updated PSL.

Bugfixes
--------

- Update Public Suffix List.

v2.5.1
======

Release Summary
---------------

Maintenance release (updated PSL).

Bugfixes
--------

- Update Public Suffix List.

v2.5.0
======

Release Summary
---------------

Feature and bugfix release with updated PSL.

Minor Changes
-------------

- hosttech inventory plugin - allow to configure token, username, and password with ``ANSIBLE_HOSTTECH_DNS_TOKEN``, ``ANSIBLE_HOSTTECH_API_USERNAME``, and ``ANSIBLE_HOSTTECH_API_PASSWORD`` environment variables, respectively (https://github.com/ansible-collections/community.dns/pull/131).
- various modules and inventory plugins - add new option ``txt_character_encoding`` which controls whether numeric escape sequences are interpreted as octals or decimals when ``txt_transformation=quoted`` (https://github.com/ansible-collections/community.dns/pull/134).

Deprecated Features
-------------------

- The default of the newly added option ``txt_character_encoding`` will change from ``octal`` to ``decimal`` in community.dns 3.0.0. The new default will be compatible with `RFC 1035 <https://www.ietf.org/rfc/rfc1035.txt>`__ (https://github.com/ansible-collections/community.dns/pull/134).

Bugfixes
--------

- Update Public Suffix List.
- inventory plugins - document ``plugin`` option used by the ``ansible.builtin.auto`` inventory plugin and mention required file ending in the documentation (https://github.com/ansible-collections/community.dns/issues/130, https://github.com/ansible-collections/community.dns/pull/131).

v2.4.2
======

Release Summary
---------------

Maintenance release with updated Public Suffix List.

Bugfixes
--------

- Update Public Suffix List.

v2.4.1
======

Release Summary
---------------

Regular maintenance release.

Bugfixes
--------

- Update Public Suffix List.
- wait_for_txt - also retrieve IPv6 addresses of nameservers. Prevents failures with IPv6 only nameservers (https://github.com/ansible-collections/community.dns/issues/120, https://github.com/ansible-collections/community.dns/pull/121).

v2.4.0
======

Release Summary
---------------

Feature and maintenance release.

Minor Changes
-------------

- Added a ``community.dns.hetzner`` module defaults group / action group. Use with ``group/community.dns.hetzner`` to provide options for all Hetzner DNS modules (https://github.com/ansible-collections/community.dns/pull/119).
- Added a ``community.dns.hosttech`` module defaults group / action group. Use with ``group/community.dns.hosttech`` to provide options for all Hosttech DNS modules (https://github.com/ansible-collections/community.dns/pull/119).
- wait_for_txt - the module now supports check mode. The only practical change in behavior is that in check mode, the module is now executed instead of skipped. Since the module does not change anything, it should have been marked as supporting check mode since it was originally added (https://github.com/ansible-collections/community.dns/pull/119).

Bugfixes
--------

- Update Public Suffix List.

v2.3.4
======

Release Summary
---------------

Maintenance release with updated Public Suffix List.

Bugfixes
--------

- Update Public Suffix List.

v2.3.3
======

Release Summary
---------------

Maintenance release including an updated Public Suffix List.

Bugfixes
--------

- Update Public Suffix List.

v2.3.2
======

Release Summary
---------------

Maintenance release with updated Public Suffix List.

Bugfixes
--------

- Update Public Suffix List.

v2.3.1
======

Release Summary
---------------

Maintenance release including an updated Public Suffix List.

Minor Changes
-------------

- The collection repository conforms to the `REUSE specification <https://reuse.software/spec/>`__ except for the changelog fragments (https://github.com/ansible-collections/community.dns/pull/112).

Bugfixes
--------

- Update Public Suffix List.

v2.3.0
======

Release Summary
---------------

Maintenance release including an updated Public Suffix List.

Minor Changes
-------------

- All software licenses are now in the ``LICENSES/`` directory of the collection root. Moreover, ``SPDX-License-Identifier:`` is used to declare the applicable license for every file that is not automatically generated (https://github.com/ansible-collections/community.dns/pull/109).

Bugfixes
--------

- Update Public Suffix List.

v2.2.1
======

Release Summary
---------------

Maintenance release with updated Public Suffix List.

Bugfixes
--------

- Update Public Suffix List.

v2.2.0
======

Release Summary
---------------

Feature release.

Minor Changes
-------------

- hetzner_dns_records and hosttech_dns_records inventory plugins - allow to template provider-specific credentials and the ``zone_name``, ``zone_id`` options (https://github.com/ansible-collections/community.dns/pull/106).
- wait_for_txt - improve error messages so that in case of SERVFAILs or other DNS errors it is clear which record was queried from which DNS server (https://github.com/ansible-collections/community.dns/pull/105).

Bugfixes
--------

- Update Public Suffix List.

v2.1.1
======

Release Summary
---------------

Maintenance release with updated Public Suffix List.

Bugfixes
--------

- Update Public Suffix List.

v2.1.0
======

Release Summary
---------------

Feature and maintenance release with updated PSL.

Minor Changes
-------------

- Prepare collection for inclusion in an Execution Environment by declaring its dependencies (https://github.com/ansible-collections/community.dns/pull/93).

Bugfixes
--------

- Update Public Suffix List.

v2.0.9
======

Release Summary
---------------

Maintenance release with updated Public Suffix List and added collection links file.

Bugfixes
--------

- Update Public Suffix List.

v2.0.8
======

Release Summary
---------------

Maintenance release with updated Public Suffix List.

Bugfixes
--------

- Update Public Suffix List.

v2.0.7
======

Release Summary
---------------

Maintenance release with updated Public Suffix List.

Bugfixes
--------

- Update Public Suffix List.

v2.0.6
======

Release Summary
---------------

Bugfix release.

Bugfixes
--------

- Update Public Suffix List.
- wait_for_txt - do not fail if ``NXDOMAIN`` result is returned. Also do not succeed if no nameserver can be found (https://github.com/ansible-collections/community.dns/issues/81, https://github.com/ansible-collections/community.dns/pull/82).

v2.0.5
======

Release Summary
---------------

Maintenance release with updated Public Suffix List.

Bugfixes
--------

- Update Public Suffix List.

v2.0.4
======

Release Summary
---------------

Maintenance release with updated Public Suffix List.

Bugfixes
--------

- Update Public Suffix List.

v2.0.3
======

Release Summary
---------------

Bugfix release.

Minor Changes
-------------

- HTTP API module utils - fix usage of ``fetch_url`` with changes in latest ansible-core ``devel`` branch (https://github.com/ansible-collections/community.dns/pull/73).

v2.0.2
======

Release Summary
---------------

Regular maintenance release.

Bugfixes
--------

- Update Public Suffix List.

v2.0.1
======

Release Summary
---------------

Maintenance release with Public Suffix List updates.

Bugfixes
--------

- Update Public Suffix List.

v2.0.0
======

Release Summary
---------------

This release contains many new features, modules and plugins, but also has several breaking changes to the 1.x.y versions. Please read the changelog carefully to determine what to change if you used an earlier version of this collection.

Minor Changes
-------------

- Add support for Hetzner DNS (https://github.com/ansible-collections/community.dns/pull/27).
- Added a ``txt_transformation`` option to all modules and plugins working with DNS records (https://github.com/ansible-collections/community.dns/issues/48, https://github.com/ansible-collections/community.dns/pull/57, https://github.com/ansible-collections/community.dns/pull/60).
- The hosttech_dns_records module has been renamed to hosttech_dns_record_sets (https://github.com/ansible-collections/community.dns/pull/31).
- The internal API now supports bulk DNS record changes, if supported by the API (https://github.com/ansible-collections/community.dns/pull/39).
- The internal record API allows to manage extra data (https://github.com/ansible-collections/community.dns/pull/63).
- Use HTTP helper class to make API implementations work for both plugins and modules. Make WSDL API use ``fetch_url`` instead of ``open_url`` for modules (https://github.com/ansible-collections/community.dns/pull/36).
- hetzner_dns_record and hosttech_dns_record - when not using check mode, use actual return data for diff, instead of input data, so that extra data can be shown (https://github.com/ansible-collections/community.dns/pull/63).
- hetzner_dns_zone_info - the ``legacy_ns`` return value is now sorted, since its order is unstable (https://github.com/ansible-collections/community.dns/pull/46).
- hosttech_dns_* modules - rename ``zone`` parameter to ``zone_name``. The old name ``zone`` can still be used as an alias (https://github.com/ansible-collections/community.dns/pull/32).
- hosttech_dns_record_set - ``value`` is no longer required when ``state=absent`` and ``overwrite=true`` (https://github.com/ansible-collections/community.dns/pull/31).
- hosttech_dns_record_sets - ``records`` has been renamed to ``record_sets``. The old name ``records`` can still be used as an alias (https://github.com/ansible-collections/community.dns/pull/31).
- hosttech_dns_zone_info - return extra information as ``zone_info`` (https://github.com/ansible-collections/community.dns/pull/38).

Breaking Changes / Porting Guide
--------------------------------

- All Hetzner modules and plugins which handle DNS records now work with unquoted TXT values by default. The old behavior can be obtained by setting ``txt_transformation=api`` (https://github.com/ansible-collections/community.dns/issues/48, https://github.com/ansible-collections/community.dns/pull/57, https://github.com/ansible-collections/community.dns/pull/60).
- Hosttech API creation - now requires a ``ModuleOptionProvider`` object instead of an ``AnsibleModule`` object. Alternatively an Ansible plugin instance can be passed (https://github.com/ansible-collections/community.dns/pull/37).
- The hetzner_dns_record_info and hosttech_dns_record_info modules have been renamed to hetzner_dns_record_set_info and hosttech_dns_record_set_info, respectively (https://github.com/ansible-collections/community.dns/pull/54).
- The hosttech_dns_record module has been renamed to hosttech_dns_record_set (https://github.com/ansible-collections/community.dns/pull/31).
- The internal bulk record updating helper (``bulk_apply_changes``) now also returns the records that were deleted, created or updated (https://github.com/ansible-collections/community.dns/pull/63).
- The internal record API no longer allows to manage comments explicitly (https://github.com/ansible-collections/community.dns/pull/63).
- When using the internal modules API, now a zone ID type and a provider information object must be passed (https://github.com/ansible-collections/community.dns/pull/27).
- hetzner_dns_record* modules - implement correct handling of default TTL. The value ``none`` is now accepted and returned in this case (https://github.com/ansible-collections/community.dns/pull/52, https://github.com/ansible-collections/community.dns/issues/50).
- hetzner_dns_record, hetzner_dns_record_set, hetzner_dns_record_sets - the default TTL is now 300 and no longer 3600, which equals the default in the web console (https://github.com/ansible-collections/community.dns/pull/43).
- hosttech_dns_record_set - the option ``overwrite`` was replaced by a new option ``on_existing``. Specifying ``overwrite=true`` is equivalent to ``on_existing=replace`` (the new default). Specifying ``overwrite=false`` with ``state=present`` is equivalent to ``on_existing=keep_and_fail``, and specifying ``overwrite=false`` with ``state=absent`` is equivalent to ``on_existing=keep`` (https://github.com/ansible-collections/community.dns/pull/31).

Deprecated Features
-------------------

- The hosttech_dns_records module has been renamed to hosttech_dns_record_sets. The old name will stop working in community.dns 3.0.0 (https://github.com/ansible-collections/community.dns/pull/31).

Bugfixes
--------

- Hetzner API - interpret missing TTL as 300, which is what the web console also does (https://github.com/ansible-collections/community.dns/pull/42).
- Update Public Suffix List.
- Update Public Suffix List.
- Update Public Suffix List.
- hetzner API code - make sure to also handle errors returned by the API if the HTTP status code indicates success. This sometimes happens for 500 Internal Server Error (https://github.com/ansible-collections/community.dns/pull/58).
- hosttech_dns_zone_info - make sure that full information is returned both when requesting a zone by ID or by name (https://github.com/ansible-collections/community.dns/pull/56).
- wait_for_txt - fix handling of too long TXT values (https://github.com/ansible-collections/community.dns/pull/65).
- wait_for_txt - resolving nameservers sometimes resulted in an empty list, yielding wrong results (https://github.com/ansible-collections/community.dns/pull/64).

New Plugins
-----------

Inventory
~~~~~~~~~

- community.dns.hetzner_dns_records - Create inventory from Hetzner DNS records
- community.dns.hosttech_dns_records - Create inventory from Hosttech DNS records

New Modules
-----------

- community.dns.hetzner_dns_record - Add or delete a single record in Hetzner DNS service
- community.dns.hetzner_dns_record_info - Retrieve records in Hetzner DNS service
- community.dns.hetzner_dns_record_set - Add or delete record sets in Hetzner DNS service
- community.dns.hetzner_dns_record_set_info - Retrieve record sets in Hetzner DNS service
- community.dns.hetzner_dns_record_sets - Bulk synchronize DNS record sets in Hetzner DNS service
- community.dns.hetzner_dns_zone_info - Retrieve zone information in Hetzner DNS service
- community.dns.hosttech_dns_record - Add or delete a single record in Hosttech DNS service
- community.dns.hosttech_dns_record_info - Retrieve records in Hosttech DNS service
- community.dns.hosttech_dns_record_set - Add or delete record sets in Hosttech DNS service
- community.dns.hosttech_dns_record_sets - Bulk synchronize DNS record sets in Hosttech DNS service

v1.2.0
======

Release Summary
---------------

Last minor 1.x.0 version. The 2.0.0 version will have some backwards incompatible changes to the ``hosttech_dns_record`` and ``hosttech_dns_records`` modules which will require user intervention. These changes should result in a better UX.

Minor Changes
-------------

- hosttech modules - add ``api_token`` alias for ``hosttech_token`` (https://github.com/ansible-collections/community.dns/pull/26).
- hosttech_dns_record - in ``diff`` mode, also return ``diff`` data structure when ``changed`` is ``false`` (https://github.com/ansible-collections/community.dns/pull/28).
- module utils - add default implementation for some zone/record API functions, and move common JSON API code to helper class (https://github.com/ansible-collections/community.dns/pull/26).

Bugfixes
--------

- Update Public Suffix List.
- hosttech_dns_record - correctly handle quoting in CAA records for JSON API (https://github.com/ansible-collections/community.dns/pull/30).

v1.1.0
======

Release Summary
---------------

Regular maintenance release.

Minor Changes
-------------

- Avoid internal ansible-core module_utils in favor of equivalent public API available since at least Ansible 2.9 (https://github.com/ansible-collections/community.dns/pull/24).

Bugfixes
--------

- Update Public Suffix List.

v1.0.1
======

Release Summary
---------------

Regular maintenance release.

Bugfixes
--------

- Update Public Suffix List.

v1.0.0
======

Release Summary
---------------

First stable release.

Bugfixes
--------

- Update Public Suffix List.

v0.3.0
======

Release Summary
---------------

Fixes bugs, adds rate limiting for Hosttech JSON API, and adds a new bulk synchronization module.

Minor Changes
-------------

- hosttech_dns_* - handle ``419 Too Many Requests`` with proper rate limiting for JSON API (https://github.com/ansible-collections/community.dns/pull/14).

Bugfixes
--------

- Avoid converting ASCII labels which contain underscores or other printable ASCII characters outside ``[a-zA-Z0-9-]`` to alabels during normalization (https://github.com/ansible-collections/community.dns/pull/13).
- Updated Public Suffix List.

New Modules
-----------

- community.dns.hosttech_dns_records - Bulk synchronize DNS records in Hosttech DNS service

v0.2.0
======

Release Summary
---------------

Major refactoring release, which adds a zone information module and supports HostTech's new REST API.

Major Changes
-------------

- hosttech_* modules - support the new JSON API at https://api.ns1.hosttech.eu/api/documentation/ (https://github.com/ansible-collections/community.dns/pull/4).

Minor Changes
-------------

- hosttech_dns_record* modules - allow to specify ``prefix`` instead of ``record`` (https://github.com/ansible-collections/community.dns/pull/8).
- hosttech_dns_record* modules - allow to specify zone by ID with the ``zone_id`` parameter, alternatively to the ``zone`` parameter (https://github.com/ansible-collections/community.dns/pull/7).
- hosttech_dns_record* modules - return ``zone_id`` on success (https://github.com/ansible-collections/community.dns/pull/7).
- hosttech_dns_record* modules - support IDN domain names and prefixes (https://github.com/ansible-collections/community.dns/pull/9).
- hosttech_dns_record_info - also return ``prefix`` for a record set (https://github.com/ansible-collections/community.dns/pull/8).
- hosttech_record - allow to delete records without querying their content first by specifying ``overwrite=true`` (https://github.com/ansible-collections/community.dns/pull/4).

Breaking Changes / Porting Guide
--------------------------------

- hosttech_* module_utils - completely rewrite and refactor to support new JSON API and allow to reuse provider-independent module logic (https://github.com/ansible-collections/community.dns/pull/4).

Bugfixes
--------

- Update Public Suffix List.
- hosttech_record - fix diff mode for ``state=absent`` (https://github.com/ansible-collections/community.dns/pull/4).
- hosttech_record_info - fix authentication error handling (https://github.com/ansible-collections/community.dns/pull/4).

New Modules
-----------

- community.dns.hosttech_dns_zone_info - Retrieve zone information in Hosttech DNS service

v0.1.0
======

Release Summary
---------------

Initial public release.

New Plugins
-----------

Filter
~~~~~~

- community.dns.get_public_suffix - Returns the public suffix of a DNS name
- community.dns.get_registrable_domain - Returns the registrable domain name of a DNS name
- community.dns.remove_public_suffix - Removes the public suffix from a DNS name
- community.dns.remove_registrable_domain - Removes the registrable domain name from a DNS name

New Modules
-----------

- community.dns.hosttech_dns_record - Add or delete entries in Hosttech DNS service
- community.dns.hosttech_dns_record_info - Retrieve entries in Hosttech DNS service
- community.dns.wait_for_txt - Wait for TXT entries to be available on all authoritative nameservers
