this post was submitted on 05 Aug 2023
4 points (100.0% liked)
Lemmy Administration
694 readers
1 users here now
Anything about running your own Lemmy instance. Including how to install it, maintain and customise it.
Be sure to check out the docs: https://join-lemmy.org/docs/en/administration/administration.html
If you have any problems, describe them here and we will try to help you fixing them.
founded 4 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Top level? I've only seen it here, so it's more like buried at the bottom.
dns lookups ( what turns lemmy.ml into an address your computer can connect to) actually go right to left. first the root servers are asked, then they say go ask the ml servers and g, then they ask the lemmy.ml servers.
in practice, usually unless otherwise configured your isp's name servers are asked first; if someone else has recently asked for the same site it remembers what the answer was and just gives the same to you.
This is very confusing.
anything in particular I can clear up?
blow by blow: first the request for an A record ( ipv4 address) for lemmy.ml is sent to a.root-servers.net ( one of several core name servers to the entire internet)
they don't reply with an A record, but instead a few NS ( nameserver) records for .ml and then in the additional section also give use the ipv4 and ipv6 addresses to those .ml name servers
so we go ask those .ml servers again for an A record for lemmy.ml, they still don't give us that A record, but instead say these ns.freenom.com name servers are responsible.
we ask one of them and they finally give us that A record: lemmy.ml is 54.36.178.108 so your computer knows to connect to 54.36.178.108 when you ask for lemmy.ml.
its the first and last two columns that are important. the second column is just how many seconds that information should be considered good for before asking again to make sure it hasn't changed
🫤 Okay. Thanks.