News for hackers. Stuff that matters.
Re:My Homelab Setup by c-hendricks on Sunday March 08, 2026 @08:54PM (#47303479)
How do I edit the hosts file of an iPhone?
Re:My Homelab Setup by nerdsniper on Sunday March 08, 2026 @09:08PM (#47303594)
You don't have to if you use mDNS. Or configure the iPhone to use your own self-hosted DNS server which can just be your router/gateway pointed to 9.9.9.9 / 1.1.1.1 / 8.8.8.8 with a few custom entries. You would need to jailbreak your iPhone to edit the hosts file.
Re:My Homelab Setup by simondotau on Monday March 09, 2026 @12:38AM (#47304935)
I have a real domain name for my house. I have a few publicly available services and those are listed in public DNS. For local services, I add them to my local DNS server. For ephemeral and low importance stuff (e.g. printers) mDNS works great.

For things like Home Assistant I use the following subdomain structure, so that my password manager does the right thing:

  service.myhouse.tld
  local.service.myhouse.tld
Re:My Homelab Setup by c-hendricks on Monday March 09, 2026 @10:15AM (#47309387)
Exactly, you don't. My qualm was with the "hosts file works well enough" claim of the person I responded to.