5 ms·
How about using the etc hosts file? (Had to remove the slash to pass through cloudflare block)
by cookiengineer 3y ago
How about using the etc hosts file?
(Had to remove the slash to pass through cloudflare block)
- russelg 3y agoThis is only a viable option for a device running a desktop OS. How am I going to do that on an iPhone, or for my TV?
- cookiengineer 3y agoI get your point, but this is already solved in a much easier manner with an OprnWRT router (and GUI etc) and kind of a strawman's argument using DNS for that. OpenWRT comes out of the box even with social website toggles that require no configuration. Granted, you still have to install OpenWRT, but I still think that running a root DNS isn't necessary for home setups.
- poisonborz 3y agoWhere the DNS server lives is a detail. What is a "root DNS"?
- neuromanser 3y agoA Root domain, or a name server authoritative for such. I don't think OP meant either.
- cookiengineer 3y agoTechnitium advertises itself with being able to serve as a root DNS, in both its documentation and on their blog [1]. So I think my argument is still valid, as it's way too over engineered to be a simple, self-hosted, home lab solution for the problem at hand. [1] https://blog.technitium.com/2021/07/running-root-server-locally-on-your-dns.html https://blog.technitium.com/2021/07/running-root-server-loca...
- skottenborg 3y agoYou can also add internal DNS records with Pi-Hole if you happen to be self hosting that as well.
- poisonborz 3y agoOnly for desktop OS, also do you update each hosts file on every client whenever something changes?
- ErneX 3y agoNot possible on some devices.
- koolba 3y ago> Had to remove the slash to pass through cloudflare block I was going to write: You can’t write a comment with the text / etc / hosts?! But I tried it and got the CloudFlare block page. That’s pretty incredible that a tech focused forum blocks you for simply referencing a common file on all Unix file systems. What state a sad future we live in.
- zikduruqe 3y agoTrust me, I just found this out the other day. https://news.ycombinator.com/item?id=38986187 https://news.ycombinator.com/item?id=38986187
- rad_gruchalski 3y ago> How about using the etc hosts file Works for one computer, doesn’t scale.