/srv/irclogs.ubuntu.com/2021/11/20/#ubuntu-server.txt

=== genii is now known as genii-core
MarvinTheMArtianHello everyone. I'm trying to setup a homelab/intranet Ubuntu server. First, I'm doing it in a VM, but as soon as the Raspberry PI 4 8GB is finally delivered, I'll use that. But reading Ubuntu Server Guide, I'm left with a few questions. When setting up intranet, what would be the practice for a hostname? I don't want to register a domain, this will not be a publicly available server.15:36
tomreynMarvinTheMArtian: you can pick any, ideally one that's not publically available. so pick something unique that's not likely going to be registered for public use anytime soon.15:40
tomreynsome sites may suggest using .lan or .local, but those actually have specific purposes in some contexts15:41
MarvinTheMArtiantomreyn: I was thinking of using .home16:00
tomreynapparently that's safe in regard to public use https://en.wikipedia.org/wiki/.home16:05
MarvinTheMArtianstupid question, do I name my server "ubuntu-intranet-serv" or "ubuntu-intranet-serv.home"?16:06
MarvinTheMArtianas a hostname16:06
MarvinTheMArtianAlso, a nOOb question, if I want to have subdomains per service, like mail.ubuntu-intranet-serv.home, xmpp.ubuntu-intranet-serv.home and so on, I need to setup a DNS server on the server as well? I'm not going to be able to use the Router's DNS?16:43
tomreynMarvinTheMArtian: some home routers would actually define a domain name, so you could just go with that17:34
tomreynalternatively, yes, you'd need to configure the domain name and hostnames either centrally, and hand it out to computers on the network, or configure it on each of the computers in the network.17:35
MarvinTheMArtian@tomreyn: bind9 being the dns server of choice?18:37
tomreynMarvinTheMArtian: it's one of them, there are others, i can't make a recommendation.18:47
=== polymorp- is now known as polymorphic
masonMarvinTheMArtian: I'm comfortable saying "yes, use BIND 9" as it's got a decent support community and is probably the purest example of how DNS works. To add to other ideas, you can also get a domain name and have your home stuff use an internal subdomain off of the public domain. If you don't ever envision needing this, it'd indeed be extra complexity, but depending on what you want to learn it 19:45
masoncould be useful.19:45
tomreynbut keep in mind that this could get you in serious trouble if that domain name was ever to expire while it's still being used for this purpose19:52
masonInteresting. Yeah, funny things could happen potentially.20:10

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!