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.

  • ohuf@alien.topB
    link
    fedilink
    English
    arrow-up
    2
    ·
    10 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!

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

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

  • ellipsoidalellipsoid@alien.topB
    link
    fedilink
    English
    arrow-up
    2
    ·
    10 months ago

    “.home.arpa” for A records.

    I run my own CA and DNS, and can create vanity TLDs like: a.git, a.webmail, b.sync, etc for internal services. These are CNAMEs pointing to A records.

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

    My TLDs are:
    .lan = management/wired vlan
    .mobile = primary wifi
    .iot = locked down for iot/home automation devices .guest = guest wifi

    The domain for each is my public .io domain.

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

    I own both mydomain.com as well as mydomain.me. I use the *.me as my local domain and *.com for the real world.

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

    I own lastname.me and lastname.dev and everything public is lastname.me and everything local ist lastname.dev. I don’t have a VPS anymore so the .me domain is a bit useless and only relevant for emails these days but I’d have something like nc.lastname.me for my public next cloud instance and docs.lastname.dev for my paperless instance that I don’t want to have on somebody else’s machine.

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

    I use a custom domain for everything…email, internal dns, external (cf tunnels), and my public websites. I use to use AWS Route 53 for everything because of work, but moved to CF because it’s free and much easier to setup and manage.

    For local devices I use *.local.domaingoeshere.com (wildcart cert), issued by cloudlfare. In retrospec I should have used *.int.domain.com as it would be less typing…but everything is categorized and bookmarked anyway.

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

      Why not use *.domain.com ? If you own the domain you’ll never have a conflict that way

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

    I use .lan for anything local and my public domain is .net for anything publicly hosted.