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.

  • Responsabilidade@lemmy.eco.br
    link
    fedilink
    English
    arrow-up
    8
    ·
    8 months ago

    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

    • LifeBandit666@feddit.ukOP
      link
      fedilink
      English
      arrow-up
      3
      arrow-down
      1
      ·
      edit-2
      8 months ago

      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

      • Responsabilidade@lemmy.eco.br
        link
        fedilink
        English
        arrow-up
        6
        ·
        edit-2
        8 months ago

        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

        • LifeBandit666@feddit.ukOP
          link
          fedilink
          English
          arrow-up
          3
          ·
          edit-2
          8 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.

        • 7Sea_Sailor@lemmy.dbzer0.com
          link
          fedilink
          English
          arrow-up
          1
          ·
          8 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.

      • Rikudou_Sage@lemmings.world
        link
        fedilink
        English
        arrow-up
        1
        ·
        edit-2
        8 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.