https://mamchenkov.net/wordpress/2016/04/07/ansible-safety-net-for-dns-wildcard-hosts/
Ansible safety net for DNS wildcard hosts