can you count the letter "w" in:
q: dns resolver vs dns server? from what i've got so far, we have what is called "name servers" (authoritative) which hold data about their domain (or zone). for example, the .com domain has an authoritative name server which holds the information about all the subdomains of com. likewise, the google.com domain has an authoritative name server which holds all the records under its responsibility, etc.
on the client side, we have something called a dns resolver which is the piece of software on my machine (for the manner of sake) that gets requests from my browser to find some ip address of a domain name i typed in the url bar. as far as i understand, the resolver is the one that is able to access the root name servers and then iteratively access the subsequent name servers to hunt down the ip address i need.
now i also know that my os (particularly my network interface) is configured to use some "dns server" to which it sends dns queries.
the thing i don't understand is, why do i need both a dns resolver and a dns server? what is this dns server? what is it used for? is it some kind of proxy resolver?

a: 
the thing i don't understand is, why do i need both a dns resolver and a dns server?

this is not the distinction you should hold.
the important distinction in dns servers is between:

*

*an authoritative nameserver

*a recursive nameserver

(and you can find others like "stub" resolver, and combination; refer to rfc 8499 for full definitions).
an authoritative nameserver has full data on one or more zones (and zones have typically two and sometimes more authoritative nameservers for load-balancing/fail over).
a recursive nameserver has basically no data (when starting) and will do queries on behalf of a client, and recurse to follow all delegations and cname records until arriving at either an error or the answer for the client query.
the recursive nameserver you use (either on your box, or your isp one, or some remote one like google public dns or cloudflare one or others) knows about the root nameservers, and will contact them to get data about tld nameservers, and so on and so forth to finally resolve the name you need.
each authoritative nameserver has only data for the zones it administer. if you query it for anything else it might either refuse to reply (reply at the dns level with a refused code), or reply with a delegation to let you know you (you here being the recursive nameserver doing the query) should go contacting another authoritative nameserver.
"dns resolver" and "dns server" is ambiguous. a "dns resolver" is also a "dns server" in the sense that it runs a "dns" software acting as a server (accepting queries and responding). the dns is designed so that the same port (53) is used for both authoritative and recursive operations, which yields to some confusion (in naming, no problems for computers).
some nameserver software are authoritative only by design (ex: nsd, yadifa, knotdns), some only recursive (ex: unbound) and some can be configured in either mode (ex: bind, powerdns), even if it is recommended not to mix both operations mode inside the same process.
rfc 8499 is really a mine of information, and a recommended reading.

user
There are thirty-five "w"s.
assistant