this post was submitted on 15 Mar 2024
29 points (91.4% liked)

Selfhosted

39159 readers
392 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 1 year ago
MODERATORS
 

I'm using Heimdall to easily access my self hosted stuff ATM. I would like for my family to use them too if they're so inclined, but there's no way they will be able to remember the IP addresses, I know I can't!

Is it a DNS I'm looking for? If so, I'm already hosting a couple of instances of Adguard, can I just set it so that Plex is 192.xxx.x.47 and snapdrop is 192.xxx.x.53 and use that to resolve the request so my 13 year old can just type Plex into his browser and find it?

Or do I need something like Caddy or Nginx or something in between?

Thanks for any advice.

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 9 points 6 months ago (1 children)

Yes, you can setup a DNS server to redirect these requisitions to the servers. However you'll have to make sure that every single device is using the DNS server you configured.

You can also configure avahi (on linux) or other zeroconf (you must find out what zeroconf each other system have, cause I don't know) to recognize local hostnames as mDNS

I use avahi to discover my octopi.local in my network and it works like a charm

[–] [email protected] 3 points 6 months ago* (last edited 6 months ago) (2 children)

I have my router point everything through my DNS servers, a main one and a backup on a pi3b, so that shouldn't be an issue.

Except for Wifey. She hates ad blocking with a passion, so I've set her phones to use Google DNS servers.

Wifey also does not care one jot for what I'm playing with, it's mainly my 13 year old ATM. Wifey likes having TV shows appear when they air in the States and that's it.

She's an odd one but I love her a great deal.

I shall have a look into avahi just because I've heard of it but never known what it actually does. Thanks

[–] [email protected] 6 points 6 months ago* (last edited 6 months ago) (2 children)

With AdGuard Home you can set your wife's devices to bypass protection. Just set her devices to static ip and set a custom rule like:

@@||*^$client=127.0.0.1

Where 127.0.0.1 must be changed for her ip address. This rule means:

@@|| = unblock
*^ = everything
$client = for this client

[–] [email protected] 3 points 6 months ago* (last edited 6 months ago)

Wow, I'm glad you speak Adguard, thanks for this. She does surveys for Amazon vouchers and buys Christmas presents and shoes with them, and the filters stop the surveys. She got quite mad with me.

[–] [email protected] 1 points 5 months ago

AdGuard Home supports static clients. Unless the instance is being used over TCP (port 53, unencrypted), it is by far the better way to use clientnames in the DNS server addresses and unblock the clients over that.

For DoT: clientname.dns.yourdomain.com
For DoH: https://dns.yourdomain.com/dns-query/clientname

A client, especially a mobile one, can simply not guarantee always having the same IP address.

[–] [email protected] 1 points 6 months ago* (last edited 6 months ago)

Avahi basically broadcasts to the whole network "hello there, my name is some-cool-domain.local". When you request that address, your router checks if someone broadcasts that name and uses their IP if so.