I’ve wanted to install pihole so I can access my machines via DNS, currently I have names for my machines in my /etc/hosts files across some of my machines, but that means that I have to copy the configuration to each machine independently which is not ideal.

I’ve seen some popular options for top-level domain in local environments are *.box or *.local.

I would like to use something more original and just wanted to know what you guys use to give me some ideas.

  • Delyzr@alien.topB
    link
    fedilink
    English
    arrow-up
    1
    ·
    10 months ago

    I have a registered domain and my lan domain is “int.registereddomain.com”. This way I can use letsencrypt etc for my internal hosts (*.int.registereddomain.com via dns challenge). The actual dns for my internal domain itself is not public but static records in pihole.

    • Tripanafenix@alien.topB
      link
      fedilink
      English
      arrow-up
      1
      ·
      10 months ago

      Hmm I thought when I add tls internal to my reverse proxy rule for local domains, it does not get letsencrypt certs. But when I leave it out of the Caddyfile rule, it gets reachable from outside of the local network. How do I use your recommondation? Using a .home.lab domain locally with a DNS name resolve for every single local subdomain (dashboard.home.lab, grafana.home.lab, etc) right now with a caddy managing the outside and the inside reverse proxy work

    • Sir-Kerwin@alien.topB
      link
      fedilink
      English
      arrow-up
      1
      ·
      10 months ago

      Can I ask why this is done over something like hosting your own certificate authority? I’m quite new to all this DNS stuff

    • NewDad907@alien.topB
      link
      fedilink
      English
      arrow-up
      1
      ·
      10 months ago

      I want to do this, but I have no clue how to set it up on Asustor AS6706T. I’ve got a bunch of docker apps up and running and I’d like to simplify stuff with subdomains and better ssl. The whole self signed stuff is just a whole project in itself to work right.