domain: sampledomain.local records: - name: 'subdomain' # create a silly localhost subdomain.sampledomain.io A record (IPv4) value: '127.0.0.1' type: A state: present - name: 'subdomain' # remove equally silly subdomain.sampledomain.io AAAA record (IPv6 local) value: '::1' type: AAAA state: absent