• Darkassassin07@lemmy.ca
        link
        fedilink
        English
        arrow-up
        19
        ·
        edit-2
        17 hours ago

        DNS is your computers address book.

        If you want to go to ‘Daves house’ you need to translate that into an address first, which you can then travel to.

        Your computer does the same thing, first translating ‘youtube.com’ into an IP address to connect to.

        If your DNS/address book is broken or inaccessible, you can still connect to the internet/travel, but you really struggle to figure out where to actually go.

        • kelpie_is_trying@lemmy.world
          link
          fedilink
          English
          arrow-up
          1
          ·
          23 minutes ago

          Of all the answers I got, this produced the least amount of steam from my ears. I appreciate you making it so clear and would feel inclined to encourage any inclinations you may have toward teaching, were I to know they existed.

      • mic_check_one_two@lemmy.dbzer0.com
        link
        fedilink
        English
        arrow-up
        6
        ·
        14 hours ago

        DNS is your Internet address book. You type “YouTube.com” and your device asks DNS for an IP address. The DNS server responds with the IP address, and you connect to the site. When you want to host a site, you tell the various DNS hosts “hey, I own a site. When someone types in {site address}, please send them to {IP address where your server is}.” And now visitors can reach your site, because you told the DNS services where to send your site traffic.

        But notably, DNS causes all kinds of weird issues when it’s not working properly. It’s the bedrock that most modern digital infrastructure is built on, so it causes all kinds of problems whenever something isn’t working.

        Maybe you type in “youtube.com”, your device asks the DNS server what IP to use, and the DNS server has an outdated IP address. So your device goes to the old IP, and fails to connect. But on your end as a user, other sites seem to be working fine? It’s just youtube that is down? What the hell?

      • osaerisxero@kbin.melroy.org
        link
        fedilink
        arrow-up
        22
        ·
        19 hours ago

        DNS or Domain Name Service is like the contacts list of the internet, so the service that turns the ‘your mom’ part of ‘call your mom about our date tonight’ into your mom’s phone number. It’s also the most common break point of a network connection in #currentyear because it’s difficult to automate testing for it on the other end of the connection (i.e. I can see that your mom’s phone number is listed on the dns billboard but that doesn’t mean you can see it from your house).

        Fixing it is usually trivial, by either changing which DNS server you’re using (instead of the list of names provided by the ISP, you instead ask the panopticon google or cloudflare directly), or having your own server which you presumably know how to fix if it breaks.

        • u/lukmly013 💾 (lemmy.sdf.org)@lemmy.sdf.org
          link
          fedilink
          English
          arrow-up
          2
          ·
          15 hours ago

          Fixing it is usually trivial

          Unless it gets so vague as “something is wrong with systemd-resolved”, and then you figure out it’s just nothing under the search domain getting resolved.
          I don’t know why, I don’t know how to fix it, but my workaround is using “addresses only” in NetworkManager to not pull search domain from DHCP.

          I only used it as a temporary fix until I find the proper fix… 3 months and counting.

      • cobysev@lemmy.world
        link
        fedilink
        English
        arrow-up
        4
        ·
        15 hours ago

        Lot of good explanations here, but here’s another to help understand the basic idea of DNS. I’m gonna use a lot of technical explanations, but I’ll break it down into an ELI5 format for you.

        Computers communicate using computer jargon; codes and numbers and math, etc. that process data immediately. Computers do these calculations incredibly quickly, so they don’t need any fluff to get to the point.

        Humans, on the other hand, can’t process raw data like computers. We need contextual clues to help us understand and relay information. So we build in translations for everything our computers do, to help us understand the raw data that our computers are processing.

        Every website on the Internet is assigned an address, which computers use to locate them. Kind of like street addresses to find a person’s house. But this address is in computer code. In this case, we call it an IP address (Internet Protocol address). A string of numbers if you’re using the old standard IPv4, or a string of even longer letters and numbers if you’re using the new standard, IPv6.


        Mini-tangent: Why do we have two standards for IP addresses? Because the original version 4 standard was too limited. The IP address range was from 0.0.0.0 to 255.255.255.255, which allowed up to 4,294,967,296 unique addresses. But with the boom of the Internet age in the past 3 decades, we quickly used up all those addresses and couldn’t make any more without seriously disrupting the way computers process IP addresses.

        So we added a hexadecimal version 6 IP address scheme that allows for up to 340,282,366,920,938,463,463,374,607,431,768,211,456 (2128) unique IP addresses. Those addresses are written from 0000.0000.0000.0000.0000.0000.0000.0000 to FFFF.FFFF.FFFF.FFFF.FFFF.FFFF.FFFF.FFFF. (Hexadecimal counts from 0-9, then A-F before starting over at 0, so base-16 counting (0-F) instead of our standard base-10 counting (0-9)). I highly doubt we’ll ever run out of addresses with this new standard.


        So our computers use IP addresses to find a website, but how are humans going to remember that? If I wanted to go to Google, I could type 64.233.170.139 into the address bar and find Google, but who’s gonna remember that string of numbers? And that’s only one website. Imagine all the other sites you browse every day. You gonna remember all those IP addresses? It’s gets even more difficult when you mix in IPv6 addresses. You’d have to remember 2404:6800:4003:c00::71 to find Google’s website! And most browsers don’t let you use IPv6 to connect directly to a website, so good luck getting there with only that string of numbers and letters.

        So DNS (Domain Name Service) is a program designed to translate IP addresses into domain names that make sense to the human brain. Instead of remembering the IP address for Google, I can just type google.com into the address bar and DNS knows to translate that domain into an IP address for the computer to find. Now I can remember a simple word or two to find a website! Much easier for our human brains to process, while still allowing for a specific and calculable IP address for computers to process and find an exact host.

        Why don’t we just tell computers to use domain names instead of IP addresses? Well, because computers operate on number operations, not words. Every word we program into a computer needs to be translated into math for the computer to process anyway. If computers just use domain names, they’ll still need to translate it into a number that it can process. Creating a DNS program allows you to set those calculations to the side and process them separately from the computers’ other functions.

        In large corporations, they usually build an entire DNS server just to process all the address translations that the business and its customers will be doing through the course of their daily operations. It puts that work on another machine entirely so you’re not slowing down your regular computers with additional processing power.

        Also… domain names might change. Say you buy twitter.com, but decide to rename it to x.com. It’s still the same website, with the same physical server location. But now with a different, simpler domain for people to remember. The IP address doesn’t change; computers still know exactly where to go to find the website. But now people have a different domain name they can type to find it. It makes it easier to rebrand your site on a whim without creating a whole new address for computers to find.

        You don’t need to ask your local town to give you a new street address simply because you tore down and rebuilt a house on your property; the address is still the same. You just have a new building for people to visit.

      • Lena@gregtech.eu
        link
        fedilink
        English
        arrow-up
        10
        ·
        19 hours ago

        DNS is a system used to convert a domain name (for example google.com) into an IP address. When something goes wrong with your DNS resolver (that’s the server your device contacts to convert domains into IPs), it’ll appear as if your internet connection isn’t working, and DNS is often the cause of such an error.

      • scops@reddthat.com
        link
        fedilink
        English
        arrow-up
        6
        ·
        15 hours ago

        Life in a neighborhood surrounded by construction. Fiber cuts once per month.

    • Frezik@lemmy.blahaj.zone
      link
      fedilink
      English
      arrow-up
      8
      ·
      18 hours ago

      The last time this happened to me, it was some IPv6 setting.

      Still don’t know what, exactly, but it was fixed when I rejiggered the router’s overall IPv6 setup.

  • merci3@lemmy.world
    link
    fedilink
    English
    arrow-up
    10
    arrow-down
    2
    ·
    18 hours ago

    Anyone who uses this font in their phone deserves to be kept offline 🙏

    • dickalan@lemmy.world
      link
      fedilink
      English
      arrow-up
      1
      ·
      14 hours ago

      You would so easily seek to other people for using a font, I wonder who else you’re othering in real life