I have a site with a public registered domain name on Godaddy, let's say xyz.com. Unfortunately all internal systems and DNS were set with the same domain name internally.
On a systems with access to Internet, I want to have access to some public NTP server which at the same time access internal hosts.
resolv.conf has this:
domain xyz.com. search xyz.com. server 18.104.22.168 server 192.168.4.4 #bind9 with no forwarder or access to internet
The problem I have is if I put 22.214.171.124 before our internal DNS, all queries on *.xyz.com will return a positive result with a GoDaddy IP and I can't actually use hostname to access these internal systems. If I put internal DNS first, I can't have the NTP server name, e.g. time.centos.org, resolved.
How can I solve this?
is it because a wild card record on the DNS?