Live data from Hacker News

RFC 1178: Choosing a name for your computer (1990)

tools.ietf.org

121–128 of 128 posts

Re: RFC 1178: Choosing a name for your computer (1990)

#121

Earlier quoted context omitted.

I really like the functional naming part of this, but I don't like the idea of using random names.. I think that server names must be functional otherwise you will tend to think of them as an abstract box that, if you just install that little extra package, will be a fine webserver on top of that mailer. Don't do it! If you're labeling hardware and need multiple functions, use virtualisation or containers, and then t…

I prefer to have mostly meaningless names for machines, and then having more names for them in DNS for their various functions. That way the functions can be moved about the machines and if that's what you care about, then that's how you refer to them (deploy the app Foobar to web01 and web02), but when a machine goes down, you can shout, "clark is down!" web01/dns01/sto01 being down only means the service is down, w…

here if "fsn-node-01" is down, we know it's a major ganeti node that dies. if "unifolium" dies, ... can you guess what happens?

at first I couldn't either, but then I learned it's an old KVM node hosting a bunch of virtual machines, and it means pain, definitely something severe. yet it's not meaningfully different from "corsicum" dying (which is "just" a VM).

adding meaning to machines reduces the cognitive burden (for oldies) and discovery burden (for newcomers) of figuring out what is what.

that assumes you don't run services bare-metal. if you do, then maybe it makes sense to use meaningful names for those, but in general, I strongly try to avoid doing that anyways... and if I do, having a functional name for that metal is mostly harmless: if the function changes, the name changes, and then I need to do a name change, which I allow for.

but that is rare, because if i dedicate full metal for a function, you can bet it won't be readily available for other purposes...

Re: RFC 1178: Choosing a name for your computer (1990)

#122
post #76

Best naming scheme I ever saw was at Harbinger in the late nineties. They used the periodic system. The last octet of the IP address corresponded to the atomic number, and you could use the full element name, or the abbreviation. So carbon.harbinger.com was x.x.x.6 and c.harbinger.com was a CNAME to carbon. oxygen or o was .8 etcetera.

What was the plan if they needed another subnet?

There are only 118 elements. Obviously this is only for small groups of servers.

Re: RFC 1178: Choosing a name for your computer (1990)

#123
Periodic table entries here. Lots of ways to divide that space, but generally for me laptops were lighter elements, desktops heavier, and servers the heaviest. Virtual machines were all heavily radioactive elements (e.g. Uranium and Plutonim). Can't remember what I used the noble elements for.

Now I don't bother and just select the default. Or name it after where it's going to be, or what it's going to do, or when I got it. If I'm going to repurpose or move it I'll probably just reimage it anyway.

The wifi is still named "Periodic" though and it still uses a chemical makeup as the password (e.g. c3h5n3o9).

Re: RFC 1178: Choosing a name for your computer (1990)

#126
post #85

I have named my machines after Doctor Who planets for the last 18 ish years. All new machines start as Gallifrey (workstation) or TARDIS (laptop). Then as they stop being my primary devices they get other planet / ship names. The torrenting machine was suitably called Skaro. :p Two exceptions are my PiHole and OctoPi. The old PiHole used to be called TimeLock but when I upgraded I didn't keep the name

Just reminded me how Sword of the Stars 1 uses a bunch of scifi references for the names of their "neutral" or Human randomly generated stars :

http://wiki.swordofthestars.com/sots1/Sci-fi_References#Star...

Re: RFC 1178: Choosing a name for your computer (1990)

#127

Over 5 years at working at Amazon (quite some time ago, I don't know what they do now) and we happily violated "no domain names" without any issue for linux servers. If you don't have linux boxes that span different networks it doesn't cause a problem to have server have one single domain name and have the hostname be the same. Linux boxes aren't proper security devices or router so don't use them as that and don't m…

> NAT and firewalls weren't used much at all and servers would just sit on public IPs.

All 3 of these are more or less coming back with IPv6.

Re: RFC 1178: Choosing a name for your computer (1990)

#128

Over 5 years at working at Amazon (quite some time ago, I don't know what they do now) and we happily violated "no domain names" without any issue for linux servers. If you don't have linux boxes that span different networks it doesn't cause a problem to have server have one single domain name and have the hostname be the same. Linux boxes aren't proper security devices or router so don't use them as that and don't m…

> NAT and firewalls weren't used much at all and servers would just sit on public IPs. All 3 of these are more or less coming back with IPv6.

AFAIK NAT goes away but firewall don't (but then firewalls have a horrible fail-open problem since all IPs are routable).
Post reply on HN