Combining all the improvements, and even overcoming systemd breaking things, here's the latest and greatest. I've also got a version of tellem for ESP8266s in C that interoperates just fine, and allows you to append useful info to the hostname which otherwise is just ESP_somehex, where somehex is the last 3 bytes of its MAC address, and no, you can't change that for all services, though there are many threads on the web that claim you can. Funny that they nearly all try something different, and none of them work here.
To use this (FWIW, it's linux only...) you copy tellem and tellme to /usr/bin/ and go there and say chmod 6711 tellem (and repeate for tellme). They gotta go somewhere, and this is a good somewhere that matches what's in the .service files.
Those go into /etc/systemd/system/multi-user.target.wants/"*.service" which systemd reads at startup to find out what to start, and when to start it - it broke starting these in /etc/rc.local by starting them before networking was up - which the older init figured out on its own, along with mounting shares (which is another whole rant - systemd fails with shares in /etc/fstab and arrogantly says "don't do that, won't-fix" - where the original init systems handled it fine, now systemd fails, and also won't allow the system to shut down because it can't unmount what it never mounted...).
At any rate, that's another post, and this thread is for LANDNS that just works and handles easily machines that come and go a lot (which happens here off the grid when you shut down whatever you aren't using right now). And here's the goodies for linux. I'll add some for ESP at some point - that works fine too.
- tells.tar.gz
- makes a dir with all the goodies in it under whereever you decompress it.
- (4.75 KiB) Downloaded 238 times
Posting as just me, not as the forum owner. Everything I say is "in my opinion" and YMMV -- which should go for everyone without saying.