I am trying to understand the meaning of a "hint" (bind config term) type nameserver vs a recursive one.
I read on a book that when bind is configured as per below, it will not recursively resolve a query but instead will reply with a referral.
Code:
..text omitted..
recursion no;
..text omitted..
zone "." IN {
type hint;
file "named.ca";
};
I have bought my own domain name and setup my own Authoritative nameserver with bind9 for that domain. Since my nameserver is the Authoritative of my domain it accepts queries from everyone on the internet but of course "recursive" is disabled in order to avoid having a public-open dns resolver.
My question is, the way I think of it, my nameserver, one way or another, will reply to the query either resolving the answer recursively or by providing a referral. Is that correct?
I mean if someone tries to resolve the example.com using my nameserver, despite the fact that my nameserver recursion is set to off, it will give him the referral , which I guess is the "." nameservers. So even if my server is not set to recursive it will respond to clients.