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.

  • @ohufB
    link
    fedilink
    English
    28 months ago

    RFC 6762 defines the TLDs you can use safely in a local-only context:

    *.intranet
    *.internal
    *.private
    *.corp
    *.home
    *.lan

    Be a selfhosting rebel, but stick to the RFCs!

    • @More_Leadership_4095B
      link
      fedilink
      English
      18 months ago

      Noice. We should get an RFC bot to inject more standards in here in case this guy is AFK.
      Good to know the rules before you break em.

    • @gramkrakerjB
      link
      fedilink
      English
      18 months ago

      How do you get https on those though? A lot of random stuff requires https these days.

      • @Diligent_Ad_9060B
        link
        fedilink
        English
        18 months ago

        https is not a problem. But you’ll need an internal CA and distributed its certificate to your hosts’ trust store.