In a recursive DNA query procedure, if a local DNS server needs to query root DNS servers, how does it know/get their IP addresses? [closed]

I am taking a computer networks class, and was wondering how a local DNS server knows the root DNS servers' IP addresses when querying them. I am assuming that since this is the root server, maybe there is a pre-provided root server address list for the local DNS, since a root server address can't be found from DNS servers from lower hierarchy, but I may be mistaken.


The list of root DNS servers is built into DNS servers usually as a configuration file. The list can also be downloaded to update installed and running DNS servers. This list is called "Root Hints".

Root Hints File