Re this setup:
My Public Authoritative DNS Server at <public dns ip>
:
example.com. A <public webserver IP>
foo.bar.example.com. TXT "Hello World"
My Private Authoritative DNS Server at 192.168.0.2
:
foo.bar.example.com. A "192.168.0.1"
bar.bar.example.com. CNAME "foo.bar.example.com"
So I have two authoritative DNS servers, one in the public domain, one in the private domain. I need the public one to serve some TXT records, but not A records, for a specific subset of domains. The private one needs to serve A and CNAME records, for internal use only, but will not serve TXT records.
If my clients have their DNS server IPs in the wrong order (public,private), is the public authoritative DNS server response going to prevent the private DNS server from being queried?
Example:
Client has resolv.conf
set to:
<public dns ip>
192.168.0.2
If they run nslookup foo.bar.example.com
from their console, will it resolve to 192.168.0.1
or will the public DNS server tell them the name doesn't exist and to stop looking?