News for hackers. Stuff that matters.
Re:My Homelab Setup by PunchyHamster on Sunday March 08, 2026 @08:23PM (#47303231)
Just giving them hostnames is easier.

In homelab space you can also make wildcard DNS pretty easily in dnsmasq, assuming you also "own" your router. If not, hosts file works well enough.

There is also option of using mdns for same reason but more setup

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.
Re:My Homelab Setup by tehlike on Monday March 09, 2026 @02:46AM (#47305559)
This is what i do.
Re:My Homelab Setup by overfeed on Monday March 09, 2026 @08:00AM (#47307935)
> Just giving them hostnames is easier

Bitwarden annoyingly ignores subdomains by default. Enabling per-sudomain credential matching is a global toggle, which breaks autocomplete on other online service that allow you to login across multiple subdomains.

Re:My Homelab Setup by rodolphoarruda on Monday March 09, 2026 @08:25AM (#47308150)
Tell me about it... that infinite Ctrl + Shift + L sequence circling through all credentials from all subdomains. Then you brain betrays you making you skip the right credential... ugh, now you'll circle the entire set again. Annoying.
Re:My Homelab Setup by danparsonson on Monday March 09, 2026 @08:47AM (#47308348)
You can override the matching method on an individual basis though, just using the setting button next to the URL entry field.
Re:My Homelab Setup by Groxx on Monday March 09, 2026 @10:25AM (#47309547)
Seriously? That sounds incredibly awful - my keepass setup has dozens of domain customizations, there's no way in hell you could apply any rule across the entire internet.
Re:My Homelab Setup by freeplay on Monday March 09, 2026 @12:54PM (#47311663)
You can set that globally but override at the individual entry.