Went thru all possible available solutions over the internet, before posting the question here.
I'm trying to replicate my working DNS production server onto a staging environment using the same Ansible Playbooks (with new values of-course :))
Only difference between the 2 environments are, domain names are different.
Production (working):
pdns_zones_create:
- aero.amadeus.com.
pdns_hosts_create:
- name: aus.aero.amadeus.com.
zone: aero.amadeus.com
type: A
content: <IP>
Staging:
pdns_zones_create:
- solutions.amadeus.com.
pdns_hosts_create:
- name: eng.solutions.amadeus.com.
zone: solutions.amadeus.com
type: A
content: <IP>
It's a PowerDNS on Ubuntu 18.04.2.
/etc/resolv.conf
nameserver 170.10.18.83
search amadeus.com
No additional configurations like named.conf etc.. What am I doing wrong ?
dig +short NS aero.amadeus.com
leads to
as-prod-145.amadeus.com.
as-prod-146.amadeus.com.
while, dig +short NS solutions.amadeus.com
in Staging env, does not return an output.