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.
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 otherzeroconf
(you must find out what zeroconf each other system have, cause I don’t know) to recognize local hostnames as mDNSI use
avahi
to discover myoctopi.local
in my network and it works like a charmI 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
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
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.
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.
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.