I have a very basic question regarding DNS resolution rules.
Let's say that I my domain name is mydomain.parentdomain.com
and I am having bind
config (very stripped one):
NS ns.parentdomain.com
ORIGIN mydomain.parentdomain.com.
@ A XXX.XXX.XXX.XXX
www CNAME mydomain.parentdomain.com.
Given the case above, I have some questions (more of assumptions) to which I don't know the answers:
user visiting either
www
ornon-www
would resolve theIP
. Correct?if I remove both
A
andCNAME
, users would not be able to resolve and would fallback tons.parentdomain.com
for resolution attempt. In my case,ns.parentdomain.com
would have no idea about my domain, so no resolution would be possible. Correct?Finally, leaving
A
andCNAME
removed, but swaping myNS
forCloudFlare
NS
, (it has a completeDNS
configuration, all domains and subdomains), would this still work? I guess, the question is, would my originalDNS
server fallback toCloudFlare
NS
at all? If this is true, would this mean that I deferred a resolution completely toCloudFlare
?
If I wasn't very clear or did leave some blanks in my question, please ask away in the comments :)