1 Followers
26 Following
43 Posts

@mwl For me there's also the option missing "I don't listen to audio, but would buy and give it a try"

But as the first book that came to my mind for this was the Networknomicon, I also further reduced my assessment of MY sanity...

Oh boy, it arrived!
MWL once again went above and beyond and even made a headstand to sign the book!
@team werden bei deaktivierter Mail für die subdomain auch gleich passenden DNS-Records gesetzt? Also NULL MX-records ('.'), '-all' SPF und ggf auch 'p='/'p=reject' records für DKIM/DMARC?
@mwl @allanjude "D: $125 is fine - with or without a coin"
I sponsor for the sake of supporting the work going into those excellent books. A little gimmick as a bonus is nice, but its still only a gimmick - so I wouldn't mind if there were another or no such gimmick at all. I really like @Heiike s idea though.
That being said - the Networknomicon cover would make a nice wallpaper for the guest room... 🤔​
@dvl I've once used AMPCOM RJ45 plugs from aliexpress which were quite good. But we still have hundreds of unshielded RJ45 crimping plugs from "ye olde days" at work, where the inserts are long missing, so I usually just use those to block off unused switchports or protect console ports from accidentally plugging in an ethernet cable.

@dvl usually you don't (and shouldn't) touch /sbin/dhclient-script. That script is invoked by dhclient and it sources /etc/dhclient-enter-hooks and /etc/dhclient-exit-hooks - those are the files you want to use to add custom behavior and e.g. run your own scripts to which you can pass the variables set by dhclient (e.g. $new_ip_address).

e.g. I'm calling my ddns script from /etc/dhclient-exit-hooks as follows:

[ ."$reason" = .BOUND ] && /usr/home/sko/bunny_ddns.sh -n <recordID> -i $new_ip_address -k <APIkey> -z <zoneID>

that script then basically just mangles the input data into a curl POST request for the API.

I always wanted to look into using the "EXPIRE", "FAIL" and "TIMEOUT" reasons to switch over to a fallback uplink...

@dvl True, the dhclient manpage is completely silent about those hooks and where to find them. The correct manpage is only mentioned in the "SEE ALSO" section: dhclient-script(8)
https://man.freebsd.org/cgi/man.cgi?dhclient-script
dhclient-script

@dvl I've been using /etc/dhclient-exit-hooks for that at home.

[ ."$reason" = .BOUND ] and [ ."$reason" = .RENEW ] will pass the new IP to a shellscript that updates my records at bunny.net DNS via their REST API.

@lattera you might want to have a look at /etc/dhclient-exit-hooks. I've been using that for a while to update DNS-records of some hosts at the bunny.net DNS-servers.
You can trigger script(s) from there via a "$reason", e.g. BOUND or RENEW and it provides handy variables like $new_ip_address or $new_routers. see man(8) dhclient-script (https://man.freebsd.org/cgi/man.cgi?dhclient-script(8))
FreeBSD Manual Pages

@team Kakaobohnen wachsen an Bäumen, damit ist Schokolade auch Obst!