318
you are viewing a single comment's thread
view the rest of the comments
[-] ilinamorato@lemmy.world 4 points 3 days ago* (last edited 3 days 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".

this post was submitted on 18 Nov 2026
318 points (98.8% liked)

Technology

89974 readers
3315 users here now

This is a most excellent place for technology news and articles.


Our Rules


  1. Follow the lemmy.world rules.
  2. Only tech related news or articles.
  3. Be excellent to each other!
  4. Mod approved content bots can post up to 10 articles per day.
  5. Threads asking for personal tech support may be deleted.
  6. Politics threads may be removed.
  7. No memes allowed as posts, OK to post as comments.
  8. Only approved bots from the list below, this includes using AI responses and summaries. To ask if your bot can be added please contact a mod.
  9. Check for duplicates before posting, duplicates may be removed
  10. Accounts 7 days and younger will have their posts automatically removed.

Approved Bots


founded 3 years ago
MODERATORS