3 ms·
This is really cool, thanks for the write up. I did the same thing in my homelab but much simpler, my shell script only fetched from a few sources and converted
by INTPenis 4y ago
This is really cool, thanks for the write up. I did the same thing in my homelab but much simpler, my shell script only fetched from a few sources and converted it into unbound format so it was much shorter. And I didn't care about statistics, but the idea was the same.
Also, why use ftp instead of curl?[1]
1. https://curl.se/docs/manual.html#time-conditions https://curl.se/docs/manual.html#time-conditions
- protomyth 4y agoMy guess is that curl is a port/package while ftp comes with the base system.
- INTPenis 4y agoTrue but I also run OpenBSD at home and curl is part of my common packages to install list in ansible. How I bootstrap all my nodes.
- protomyth 4y agoAs others have mentioned, ftp that ships with OpenBSD is a bit more robust then its name suggests. https://man.openbsd.org/ftp https://man.openbsd.org/ftp
- nixcraft 4y agoThe ftp client is, by default, installed in the OpenBSD base system. Even though the name is ftp, it works with HTTP, HTTPS, FTP/FTPS and so on.
- merpkz 4y agois it like poor man's curl?