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.

  • AnomalyNexusB
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    Managed to buy a really sweet domain so using that for both mail and local domain

    currently I have names for my machines in my /etc/hosts files across some of my machines

    A better way is to set the DHCP server to resolve local too via DNS.

    So in my case proxmox.mydomain.com and proxmox both resolve to a local IP…without any need to configure IPs manually anywhere.

    On opnsense it’s under Unbound >> Register DHCP Leases