• TeddE@lemmy.world
    link
    fedilink
    English
    arrow-up
    17
    ·
    21 hours ago

    Like a card catalog? Honestly, it would be nice if we could get copies of individual entries over a dedicated port - like 53.

    • ilinamorato@lemmy.world
      link
      fedilink
      English
      arrow-up
      3
      ·
      edit-2
      13 hours ago

      Maybe you’re getting the joke and I’m not, or maybe you just don’t know, but every computer has a hosts file that it checks before checking DNS (though some browsers skip it by default, behavior you can turn off). If you have a domain in that hosts file, it will always point you to the IP you set for it. So, for instance, if you type 127.0.0.1 reddit.com into this file, then you’ll be sent to your localhost every time you try to go to Reddit, essentially blocking the domain on your computer.

      Or, more applicable here, you could find the IP of a page you want to visit that doesn’t have a domain name and assign it to whatever string of characters you want–the hosts file doesn’t even care about DNS TLD rules, so you could have it send you to your self-hosted image storage whenever you type in just “photos”, or to some dark web baguette forger’s site when you type in “carbs.gimmecarbs”.